From be3846f8cab76d9b7397d2306d5b94a5040ee918 Mon Sep 17 00:00:00 2001 From: minima Date: Sat, 3 Mar 2001 21:03:08 +0000 Subject: [PATCH] ignore BUST(ED) spots --- perl/DXProt.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 08e23640..c3a98ecd 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -358,6 +358,10 @@ sub normal # do some de-duping $field[5] =~ s/^\s+//; # take any leading blanks off $field[2] = unpad($field[2]); # take off leading and trailing blanks from spotted callsign + if ($field[2] =~ /BUST|BUSTED$/) { + dbg('chan', "PCPROT: useless 'BUSTED' spot"); + return; + } if (Spot::dup($field[1], $field[2], $d, $field[5])) { dbg('chan', "PCPROT: Duplicate Spot ignored\n"); return; -- 2.43.0