fixed Aliases so that shutdown works again.
[spider.git] / cmd / announce.pl
index 0ea2e12fdf8bbcf8369d75bb59f8be724a91f3e8..3b07d84ddec974639e6943c16b5ae0eb92c2640f 100644 (file)
@@ -49,7 +49,11 @@ $line =~ s/\^/:/og;
 
 my @bad;
 if (@bad = BadWords::check($line)) {
-       return (1, $self->msg('e17', @bad));
+       $self->badcount(($self->badcount||0) + @bad);
+       Log('DXCommand', "$self->{call} swore: $line");
+       Log('ann', $to, $from, "[to $from only] $line");
+       $self->send("To $to de $from <$t>: $line");
+       return (1, ());
 }
 
 return (1, $self->msg('dup')) if AnnTalk::dup($from, $toflag, $line);