X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCommandmode.pm;h=89efeb4b6aba41598f6090fb50b99f05524f0c92;hb=cc7f8c40caa3e7489626467782df521b3bbba784;hp=04a1b2866e850daf066562cc469456f2f5a7fc4d;hpb=f19175c9555c23648a8da601555aa2d918850a97;p=spider.git diff --git a/perl/DXCommandmode.pm b/perl/DXCommandmode.pm index 04a1b286..89efeb4b 100644 --- a/perl/DXCommandmode.pm +++ b/perl/DXCommandmode.pm @@ -297,7 +297,7 @@ sub normal my @bad; if (@bad = BadWords::check($l)) { $self->badcount(($self->badcount||0) + @bad); - Log('DXCommand', "$self->{call} swore: $l"); + LogDbg('DXCommand', "$self->{call} swore: $l with words:" . join(',', @bad) . ")"); } else { for (@{$self->{talklist}}) { $self->send_talks($_, $l); @@ -311,7 +311,7 @@ sub normal my @bad; if (@bad = BadWords::check($cmdline)) { $self->badcount(($self->badcount||0) + @bad); - Log('DXCommand', "$self->{call} swore: $cmdline"); + LogDbg('DXCommand', "$self->{call} swore: $cmdline with words:" . join(',', @bad) . ")"); } else { for (@{$self->{talklist}}) { $self->send_talks($_, $rawline); @@ -343,7 +343,7 @@ sub normal # check for excessive swearing if ($self->{badcount} && $self->{badcount} >= $maxbadcount) { - Log('DXCommand', "$self->{call} logged out for excessive swearing"); + LogDbg('DXCommand', "$self->{call} logged out for excessive swearing"); $self->disconnect; return; }