projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
made more improvements
[spider.git]
/
cmd
/
dx.pl
diff --git
a/cmd/dx.pl
b/cmd/dx.pl
index 85dc4cf91f47aba2df092596b78eca31b2d218f5..0b2ece1d6b250cd0808f05205c455ed2967520f5 100644
(file)
--- a/
cmd/dx.pl
+++ b/
cmd/dx.pl
@@
-94,12
+94,13
@@
if ($spotted le ' ') {
return (1, @out) unless $valid;
my @bad;
return (1, @out) unless $valid;
my @bad;
-if (@bad = BadWords::check($line)) {
+if (@bad = BadWords::check($line)) {
+ $self->badcount(($self->badcount||0) + @bad);
return (1, $self->msg('e17', @bad));
}
# Store it here (but only if it isn't baddx)
return (1, $self->msg('e17', @bad));
}
# Store it here (but only if it isn't baddx)
-if (
grep $_ eq $spotted, @DXProt::baddx
) {
+if (
$DXProt::baddx->in($spotted)
) {
my $buf = Spot::formatb($self->user->wantgrid, $freq, $spotted, $main::systime, $line, $spotter);
push @out, $buf;
} else {
my $buf = Spot::formatb($self->user->wantgrid, $freq, $spotted, $main::systime, $line, $spotter);
push @out, $buf;
} else {