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:
parent
e0e4bfd59c
commit
d433043b02
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user