X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?p=spider.git;a=blobdiff_plain;f=perl%2FDXCommandmode.pm;h=90812225dfe772c4bd8b2671f6ff3600bc70a521;hp=006d8d9dfb9c70bd43c06e635748c3a5a2a745ac;hb=ceb2daf21a03249decadc86f4b90711fe8a53b0e;hpb=400227d4bd709387099bf224b1c00a6f988c8196 diff --git a/perl/DXCommandmode.pm b/perl/DXCommandmode.pm index 006d8d9d..90812225 100644 --- a/perl/DXCommandmode.pm +++ b/perl/DXCommandmode.pm @@ -401,12 +401,12 @@ sub normal } $self->send_ans(@ans); } else { - if (@bad = BadWords::check($cmdline)) { - $self->badcount(($self->badcount||0) + @bad); - LogDbg('DXCommand', "$self->{call} swore: '$cmdline' with badwords: '" . join(',', @bad) . "'"); - } else { +# if (@bad = BadWords::check($cmdline)) { +# $self->badcount(($self->badcount||0) + @bad); +# LogDbg('DXCommand', "$self->{call} swore: '$cmdline' with badwords: '" . join(',', @bad) . "'"); +# } else { $self->send_ans(run_cmd($self, $cmdline)); - } +# } } # check for excessive swearing