diff --git a/lib/PBot/Plugin/ActionTrigger.pm b/lib/PBot/Plugin/ActionTrigger.pm index 685c7c9e..a31d884a 100644 --- a/lib/PBot/Plugin/ActionTrigger.pm +++ b/lib/PBot/Plugin/ActionTrigger.pm @@ -366,7 +366,7 @@ sub get_trigger($self, $channel, $trigger) { } sub on_kick($self, $event_type, $event) { - # don't handle this event if it was caused by a bot command + # don't handle this event if it was processed by a bot command return 0 if $event->{interpreted}; my ($nick, $user, $host) = ( @@ -387,6 +387,9 @@ sub on_kick($self, $event_type, $event) { } sub on_action($self, $event_type, $event) { + # don't handle this event if it was processed by a bot command + return 0 if $event->{interpreted}; + my ($nick, $user, $host, $msg) = ( $event->nick, $event->user, @@ -403,6 +406,9 @@ sub on_action($self, $event_type, $event) { } sub on_public($self, $event_type, $event) { + # don't handle this event if it was processed by a bot command + return 0 if $event->{interpreted}; + my ($nick, $user, $host, $msg) = ( $event->nick, $event->user, diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index e46afeda..58ac0169 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 => 4853, - BUILD_DATE => "2024-11-15", + BUILD_REVISION => 4854, + BUILD_DATE => "2024-11-21", }; sub initialize {}