remove -0 on callsigns
[spider.git] / perl / client.pl
index 740a9e7211d45bb27c4dfadf8cebe3f0243e0e7c..b84945783155cd70a36685524ab78bf50fd98735 100755 (executable)
@@ -477,6 +477,7 @@ if ($connsort eq "connect") {
 setmode();
 
 # adjust the callsign if it has an SSID, SSID <= 8 are legal > 8 are netrom connections
+$call =~ s/-0$//;     # strip off -0 as this is equiv to just call on its own
 my ($scall, $ssid) = split /-/, $call;
 $ssid = undef unless $ssid && $ssid =~ /^\d+$/;  
 if ($ssid) {