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 c7161b62b7887c99d232362b1249e61ad6c0060c..0b2ece1d6b250cd0808f05205c455ed2967520f5 100644
(file)
--- a/
cmd/dx.pl
+++ b/
cmd/dx.pl
@@
-100,7
+100,7
@@
if (@bad = BadWords::check($line)) {
}
# Store it here (but only if it isn't baddx)
}
# 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 {