fix long callsign checking
[spider.git] / perl / DXProt.pm
index 9e07d9e4165e71c45e08ce78a8cd59a48c016c34..2027239b6bac792fffec04499124181f3ff4aaea 100644 (file)
@@ -441,6 +441,12 @@ sub normal
                                        return;
                                }
                        }
+                       
+                       if (Spot::dup($field[1], $field[2], $d, $field[5])) {
+                               dbg("PCPROT: Duplicate Spot ignored\n") if isdbg('chanerr');
+                               return;
+                       }
+
 
                        my @spot = Spot::prepare($field[1], $field[2], $d, $field[5], $field[6], $field[7]);
                        # global spot filtering on INPUT
@@ -451,11 +457,6 @@ sub normal
                                        return;
                                }
                        }
-                       
-                       if (Spot::dup($field[1], $field[2], $d, $field[5])) {
-                               dbg("PCPROT: Duplicate Spot ignored\n") if isdbg('chanerr');
-                               return;
-                       }
 
                        # add it 
                        Spot::add(@spot);
@@ -1966,5 +1967,10 @@ sub eph_list
        }
        return @out;
 }
+
+sub run_cmd
+{
+       goto &DXCommandmode::run_cmd;
+}
 1;
 __END__