diff --git a/lib/PBot/Plugin/AntiAway.pm b/lib/PBot/Plugin/AntiAway.pm index 1009aa47..ddbacd58 100644 --- a/lib/PBot/Plugin/AntiAway.pm +++ b/lib/PBot/Plugin/AntiAway.pm @@ -28,6 +28,7 @@ sub initialize($self, %conf) { sub unload($self) { $self->{pbot}->{event_dispatcher}->remove_handler('irc.nick'); $self->{pbot}->{event_dispatcher}->remove_handler('irc.caction'); + $self->{pbot}->{event_dispatcher}->remove_handler('irc.public'); } sub punish($self, $msg, $channel, $nick, $user, $host) { diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index 4418f6bb..223105a7 100644 --- a/lib/PBot/VERSION.pm +++ b/lib/PBot/VERSION.pm @@ -25,8 +25,8 @@ use PBot::Imports; # These are set by the /misc/update_version script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 4772, - BUILD_DATE => "2024-07-22", + BUILD_REVISION => 4773, + BUILD_DATE => "2024-07-23", }; sub initialize {}