From: minima Date: Mon, 16 Oct 2000 18:13:27 +0000 (+0000) Subject: allow for /J in callsigns to mean Jota not Japan X-Git-Tag: R_1_45~95 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=8bf31b1b2fe01ca714384c07d3c248564bda6edc;p=spider.git allow for /J in callsigns to mean Jota not Japan --- diff --git a/Changes b/Changes index 7c0b1df6..36c23469 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,7 @@ 16Oct00======================================================================= 1. add a ':' after 'G7BRN de G1TLH' in a talk message. +2. added /J to the list of things to ignore (as in G1TLH/J) in prefix +processing (ie /J mean Jota not /JA [Japan]). 04Sep00======================================================================= 1. made PC10,11,12 badword checking dependant on a flag variable ($censorpc) default = 0 (off). diff --git a/perl/Prefix.pm b/perl/Prefix.pm index 263f5f82..69da3085 100644 --- a/perl/Prefix.pm +++ b/perl/Prefix.pm @@ -152,9 +152,9 @@ sub extract $p = $parts[0]; shift @parts if $p =~ /^(WEB|NET)$/o; $p = $parts[$#parts]; - pop @parts if $p =~ /^(\d+|[PABM]|AM|MM|BCN|SIX|WEB|NET|Q\w+)$/o; + pop @parts if $p =~ /^(\d+|[JPABM]|AM|MM|BCN|SIX|WEB|NET|Q\w+)$/o; $p = $parts[$#parts]; - pop @parts if $p =~ /^(\d+|[PABM]|AM|MM|BCN|SIX|WEB|NET|Q\w+)$/o; + pop @parts if $p =~ /^(\d+|[JPABM]|AM|MM|BCN|SIX|WEB|NET|Q\w+)$/o; # can we resolve them by direct lookup foreach $p (@parts) {