From d433043b0249f93e6db443f9c1c98e7ecd4057db Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Mon, 6 Aug 2018 11:01:58 -0700 Subject: [PATCH] RelayUnreg: use all AntiSpam namespaces --- PBot/Plugins/RelayUnreg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBot/Plugins/RelayUnreg.pm b/PBot/Plugins/RelayUnreg.pm index deb44824..674fcbae 100644 --- a/PBot/Plugins/RelayUnreg.pm +++ b/PBot/Plugins/RelayUnreg.pm @@ -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');