- $dxchan->talk($self->call, $to, $via, $line) if $dxchan;
+ my @bad;
+ Log('talk', $to, $from, '>' . ($via || ($dxchan && $dxchan->call) || '*'), $line);
+ if (@bad = BadWords::check($line)) {
+ $self->badcount(($self->badcount||0) + @bad);
+ LogDbg('DXCommand', "$self->{call} swore: $line (with words:" . join(',', @bad) . ")");
+ } else {
+ $main::me->normal(DXProt::pc93($to, $self->call, $via, $line));
+ }