From 2bc468970b9ad5fa455e100688cbdd6ab8885edc Mon Sep 17 00:00:00 2001 From: minima Date: Fri, 5 Oct 2001 11:07:12 +0000 Subject: [PATCH] DX 69 will act as baddx --- cmd/dx.pl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 { -- 2.34.1