projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed Aliases so that shutdown works again.
[spider.git]
/
cmd
/
announce.pl
diff --git
a/cmd/announce.pl
b/cmd/announce.pl
index d2755b2df46309014c1b657e717baa94376992f4..3b07d84ddec974639e6943c16b5ae0eb92c2640f 100644
(file)
--- a/
cmd/announce.pl
+++ b/
cmd/announce.pl
@@
-50,7
+50,10
@@
$line =~ s/\^/:/og;
my @bad;
if (@bad = BadWords::check($line)) {
$self->badcount(($self->badcount||0) + @bad);
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");
+ 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);
}
return (1, $self->msg('dup')) if AnnTalk::dup($from, $toflag, $line);