return if $pcno < 10 || $pcno > 99;
# dump bad protocol messages
- if ($line =~ /\%[01][0-9A-F]/) {
+ if ($pcno != 29 && $line =~ /\%[01][0-9A-F]/) {
dbg('chan', "CORRUPT protocol message - dumped");
return;
}
$self->SUPER::disconnect;
}
-# check that a field only has callsign characters in it
-sub is_callsign
-{
- return $_[0] !~ /[^A-Z0-9\-]/
-}
#
# send a talk message to this thingy