From d121b3ea288684ef6aa6d4ae5fecdc29d000f83a Mon Sep 17 00:00:00 2001 From: Ryan Voots Date: Thu, 11 May 2017 15:40:03 -0400 Subject: [PATCH] static spamlist update --- lib/App/Controller/Apiv1.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/App/Controller/Apiv1.pm b/lib/App/Controller/Apiv1.pm index cf9009c..b917349 100644 --- a/lib/App/Controller/Apiv1.pm +++ b/lib/App/Controller/Apiv1.pm @@ -61,7 +61,7 @@ sub api_post_paste { # warn "I thought this was spam! $type"; # } else { if ($channel) { # TODO config for allowing announcements - my $words = qr/nigger|jew|spic|tranny|trannies|fuck|shit|piss|cunt|asshole/i; + my $words = qr/nigger|jew|spic|tranny|trannies|fuck|shit|piss|cunt|asshole|hitler|klan|klux/i; unless ($code =~ $words || $who =~ $words || $desc =~ $words) { $c->perlbot->announce($channel, $who, substr($desc, 0, 40), $c->req->url->base()."/p/$id"); }