]> dxcluster.org Git - spider.git/commitdiff
ignore BUST(ED) spots
authorminima <minima>
Sat, 3 Mar 2001 21:03:08 +0000 (21:03 +0000)
committerminima <minima>
Sat, 3 Mar 2001 21:03:08 +0000 (21:03 +0000)
perl/DXProt.pm

index 08e23640f69d47423b05982bdbdea7a20a27074e..c3a98ecd9c81c37784f73bb812988dedc8f11baf 100644 (file)
@@ -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;