]> dxcluster.org Git - spider.git/commitdiff
add badword check to the spotted field
authorminima <minima>
Thu, 4 Oct 2001 14:27:19 +0000 (14:27 +0000)
committerminima <minima>
Thu, 4 Oct 2001 14:27:19 +0000 (14:27 +0000)
perl/DXProt.pm

index d3b39cb32097963b2ba0da0023b54fef9df8505b..f6e1e75dc86c0ff093348eb945ab2db35141e711 100644 (file)
@@ -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;
                        }