From 7b125939d7c1542f951286e03c28f9cddbfe4fce Mon Sep 17 00:00:00 2001 From: minima Date: Thu, 4 Oct 2001 14:27:19 +0000 Subject: [PATCH] add badword check to the spotted field --- perl/DXProt.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.34.1