From: minima Date: Thu, 4 Oct 2001 14:27:19 +0000 (+0000) Subject: add badword check to the spotted field X-Git-Tag: R_1_49~62 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=7b125939d7c1542f951286e03c28f9cddbfe4fce;p=spider.git add badword check to the spotted field --- diff --git a/perl/DXProt.pm b/perl/DXProt.pm index d3b39cb3..f6e1e75d 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -415,7 +415,7 @@ sub normal } # is it 'baddx' - if ($baddx->in($field[2])) { + if ($baddx->in($field[2]) || BadWords::check($field[2])) { dbg("PCPROT: Bad DX spot, ignored") if isdbg('chanerr'); return; }