mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-29 23:39:24 +01:00
Plugins/AntiRepeat: dequeue events on unload
This commit is contained in:
parent
3eb35a876f
commit
e6deebc876
@ -30,7 +30,7 @@ sub initialize {
|
||||
|
||||
sub unload {
|
||||
my $self = shift;
|
||||
$self->{pbot}->{timer}->unregister('antirepeat');
|
||||
$self->{pbot}->{timer}->dequeue_event('antirepeat .*');
|
||||
$self->{pbot}->{event_dispatcher}->remove_handler('irc.public');
|
||||
$self->{pbot}->{event_dispatcher}->remove_handler('irc.caction');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user