From: minima Date: Fri, 5 Oct 2001 11:07:12 +0000 (+0000) Subject: DX 69 will act as baddx X-Git-Tag: R_1_49~55 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=2bc468970b9ad5fa455e100688cbdd6ab8885edc;p=spider.git DX 69 will act as baddx --- diff --git a/cmd/dx.pl b/cmd/dx.pl index 1d09a476..73ba0de0 100644 --- 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')); } + # 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) -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 {