diff --git a/PBot/Plugins/AntiTwitter.pm b/PBot/Plugins/AntiTwitter.pm index 3f863284..4700dd59 100644 --- a/PBot/Plugins/AntiTwitter.pm +++ b/PBot/Plugins/AntiTwitter.pm @@ -36,6 +36,7 @@ sub on_public { my ($self, $event_type, $event) = @_; my ($nick, $user, $host, $channel, $msg) = ($event->{event}->nick, $event->{event}->user, $event->{event}->host, $event->{event}->{to}[0], $event->{event}->args); + return 0 if $event->{interpreted}; $channel = lc $channel; return 0 if not $self->{pbot}->{chanops}->can_gain_ops($channel);