projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix badword, ipv6 address detect, add CTY
[spider.git]
/
perl
/
DXCommandmode.pm
diff --git
a/perl/DXCommandmode.pm
b/perl/DXCommandmode.pm
index d17f6f9178e2accdba36803005ac43901484aa84..01395c9052a52c429b2a27e547b608a575294689 100644
(file)
--- a/
perl/DXCommandmode.pm
+++ b/
perl/DXCommandmode.pm
@@
-406,7
+406,7
@@
sub normal
}
# check for excessive swearing
}
# check for excessive swearing
- if ($self->{badcount} && $self->{badcount} >= $maxbadcount) {
+ if ($
maxbadcount && $
self->{badcount} && $self->{badcount} >= $maxbadcount) {
LogDbg('DXCommand', "$self->{call} logged out for excessive swearing");
$self->disconnect;
return;
LogDbg('DXCommand', "$self->{call} logged out for excessive swearing");
$self->disconnect;
return;