+19Feb02=======================================================================
+1. move the PC11 dup check after the input filter
06Feb02=======================================================================
1. changes to manuals to (hopefully) improve documentation and alter my email
address (g0vgs)
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]);
}
}
+ # this goes after the input filtering, but before the add
+ # so that if it is input filtered, it isn't added to the dup
+ # list. This allows it to come in from a "legitimate" source
+ 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);