2. try to get the C client to handle closes on its standard input better
3. put some validation in cluster.pl to check that people have set it up
handled.
+4. fix the long callsign checking
22Jan02=======================================================================
1. limit spot dupe checking to first 12 characters
13Jan02=======================================================================
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
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);
return 2 if $d < $main::systime - $dupage;
$freq = sprintf "%.1f", $freq; # normalise frequency
- $call = substr($call, 12) if length $call > 12;
+ $call = substr($call, 0, 12) if length $call > 12;
chomp $text;
$text =~ s/\%([0-9A-F][0-9A-F])/chr(hex($1))/eg;
$text = substr($text, 0, $duplth) if length $text > $duplth;