3
0
mirror of https://github.com/pragma-/pbot.git synced 2025-01-23 02:24:25 +01:00

RelayUnreg: use all AntiSpam namespaces

This commit is contained in:
Pragmatic Software 2018-08-06 11:01:58 -07:00
parent e0e4bfd59c
commit d433043b02

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');