projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d3a6190
)
DX 69 will act as baddx
author
minima
<minima>
Fri, 5 Oct 2001 11:07:12 +0000
(11:07 +0000)
committer
minima
<minima>
Fri, 5 Oct 2001 11:07:12 +0000
(11:07 +0000)
cmd/dx.pl
patch
|
blob
|
history
diff --git
a/cmd/dx.pl
b/cmd/dx.pl
index 1d09a4769f489744b4c31192c47a8554952203a8..73ba0de0e4275dd74d11d4c63f06244146673786 100644
(file)
--- a/
cmd/dx.pl
+++ b/
cmd/dx.pl
@@
-49,6
+49,7
@@
if (is_freq($f[1]) && $f[0] =~ m{^[\w\d]+(?:/[\w\d]+){0,2}$}) {
return (1, $self->msg('dx3'));
}
return (1, $self->msg('dx3'));
}
+
# make line the rest of the line
$line = $f[2] || " ";
@f = split /\s+/, $line;
# make line the rest of the line
$line = $f[2] || " ";
@f = split /\s+/, $line;
@@
-101,7
+102,13
@@
return (1, @out) unless $valid;
# Store it here (but only if it isn't baddx)
# Store it here (but only if it isn't baddx)
-if ($DXProt::baddx->in($spotted)) {
+if ($DXProt::baddx->in($spotted) || $freq =~ /^69/) {
+
+ # heaven forfend that we get a 69Mhz band :-)
+ if ($freq =~ /^69/) {
+ $self->badcount(($self->badcount||0) + 1);
+ }
+
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 {