From: minima Date: Mon, 21 Mar 2005 17:47:11 +0000 (+0000) Subject: fix $by in dups X-Git-Tag: 1.53~141 X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=37dfbc681a882ea8d82f1c2c4b27b3058b1c30e8;p=spider.git fix $by in dups --- diff --git a/perl/Spot.pm b/perl/Spot.pm index a57edbe8..112fcffe 100644 --- a/perl/Spot.pm +++ b/perl/Spot.pm @@ -328,6 +328,9 @@ sub dup $d = int ($d / 60); $d *= 60; + # remove SSID or area + $by =~ s|[-/]\d+$||; + $freq = sprintf "%.1f", $freq; # normalise frequency $call = substr($call, 0, $maxcalllth) if length $call > $maxcalllth;