+07Nov01=======================================================================
+1. fix is_pctext so that it actually catches corrupt spots and announces.
06Nov01=======================================================================
1. fix read so that sysop reading doesn't increment the read counter for
private mail not addressed to them.
# check that a PC protocol field is valid text
sub is_pctext
{
- return $_[0] =~ /^[\x09\x20-\xFF]+$/;
+ return undef if $_[0] =~ /[\x00-\x08\x0a-\x1f\xf0-\xff]/;
+ return $_[0];
}
# check that a PC prot flag is fairly valid (doesn't check the difference between 1/0 and */-)