add if you swear 3 or more times you are unceremoniously logged out
[spider.git] / cmd / announce.pl
index 0ea2e12fdf8bbcf8369d75bb59f8be724a91f3e8..d2755b2df46309014c1b657e717baa94376992f4 100644 (file)
@@ -49,6 +49,7 @@ $line =~ s/\^/:/og;
 
 my @bad;
 if (@bad = BadWords::check($line)) {
+       $self->badcount(($self->badcount||0) + @bad);
        return (1, $self->msg('e17', @bad));
 }