]> dxcluster.net Git - spider.git/commitdiff
check for lower case letters in spotted calls
authorminima <minima>
Sat, 4 Feb 2006 19:33:11 +0000 (19:33 +0000)
committerminima <minima>
Sat, 4 Feb 2006 19:33:11 +0000 (19:33 +0000)
perl/DXProt.pm

index af1f34f7124a32f29a6729fb97724177d3089f0e..5c6ca1fb928abd18426cce68525fedbcb3e20cf6 100644 (file)
@@ -479,11 +479,16 @@ sub handle_11
        #                       return if $rspfcheck and !$self->rspfcheck(1, $_[7], $_[6]);
        
        # is the spotted callsign blank? This should really be trapped earlier but it
-       # could break other protocol sentences.
+       # could break other protocol sentences. Also check for lower case characters.
        if ($_[2] =~ /^\s*$/) {
                dbg("PCPROT: blank callsign, dropped") if isdbg('chanerr');
                return;
        }
+       if ($_[2] =~ /[a-z]/) {
+               dbg("PCPROT: lowercase characters, dropped") if isdbg('chanerr');
+               return;
+       }
+
 
        # if this is a 'nodx' node then ignore it
        if ($badnode->in($_[7])) {