fixed Aliases so that shutdown works again.
[spider.git] / cmd / talk.pl
index 9b7d359d3d6323aff40889ddbe13e4069b28c4a7..bb7164379bdc5ce0bb698f3a23e8a594ea4be64e 100644 (file)
@@ -41,9 +41,10 @@ if ($line) {
        my @bad;
        if (@bad = BadWords::check($line)) {
                $self->badcount(($self->badcount||0) + @bad);
-               return (1, $self->msg('e17', @bad));
+               Log('DXCommand', "$self->{call} swore: $line");
+       } else {
+               $dxchan->talk($self->call, $to, $via, $line) if $dxchan;
        }
-       $dxchan->talk($self->call, $to, $via, $line) if $dxchan;
 } else {
        my $s = $to;
        $s .= ">$via" if $via;