RelayUnreg: use all AntiSpam namespaces

This commit is contained in:
Pragmatic Software 2018-08-06 11:01:58 -07:00
parent e0e4bfd59c
commit d433043b02
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ sub on_public {
}
# don't notify/relay for spammers
return 0 if $self->{pbot}->{antispam}->is_spam($channel, $msg);
return 0 if $self->{pbot}->{antispam}->is_spam($channel, $msg, 1);
# don't notify/relay if user is voiced
return 0 if $self->{pbot}->{nicklist}->get_meta($channel, $nick, '+v');