X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCommandmode.pm;h=29840c410e4c788359f97cbe26780dce0ce0519d;hb=363580155c0ea3605530752cb98aca43f2736938;hp=04a1b2866e850daf066562cc469456f2f5a7fc4d;hpb=1e126f735c36856358bf5d698c8944f5ab9ea804;p=spider.git diff --git a/perl/DXCommandmode.pm b/perl/DXCommandmode.pm index 04a1b286..29840c41 100644 --- a/perl/DXCommandmode.pm +++ b/perl/DXCommandmode.pm @@ -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; }