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
/
talk.pl
diff --git
a/cmd/talk.pl
b/cmd/talk.pl
index 9b7d359d3d6323aff40889ddbe13e4069b28c4a7..bb7164379bdc5ce0bb698f3a23e8a594ea4be64e 100644
(file)
--- a/
cmd/talk.pl
+++ b/
cmd/talk.pl
@@
-41,9
+41,10
@@
if ($line) {
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");
+ } 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;
} else {
my $s = $to;
$s .= ">$via" if $via;