diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/event.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/event.pl b/modules/event.pl index b74c4d0..42ee2c1 100644 --- a/modules/event.pl +++ b/modules/event.pl @@ -294,7 +294,7 @@ sub on_msg my ($conn, $event) = @_; $::commander->command($conn, $event); ASM::Util->dprint($event->{from} . " - " . $event->{args}->[0], 'msg'); - if (ASM::Util->notRestricted($event->{nick}, "nomsgs")) { + if ((ASM::Util->notRestricted($event->{nick}, "nomsgs")) && ($event->{args}->[0] !~ /^;;/)) { $conn->privmsg($::settings->{masterchan}, $event->{from} . ' told me: ' . $event->{args}->[0]); } } |
