]> dxcluster.org Git - spider.git/commitdiff
truncate qrg for spot dupes
authorminima <minima>
Mon, 11 Jun 2007 10:27:14 +0000 (10:27 +0000)
committerminima <minima>
Mon, 11 Jun 2007 10:27:14 +0000 (10:27 +0000)
perl/Spot.pm

index 4d87be3723e2317d8b7d6718da37dd9bfb66ed55..4f9f18ab2fa0540f3a7157268c9a5807274f1e60 100644 (file)
@@ -394,7 +394,8 @@ sub dup
        # remove SSID or area
        $by =~ s|[-/]\d+$||;
        
-       $freq = sprintf "%.1f", $freq;       # normalise frequency
+#      $freq = sprintf "%.1f", $freq;       # normalise frequency
+       $freq = int $freq;       # normalise frequency
        $call = substr($call, 0, $maxcalllth) if length $call > $maxcalllth;
 
        chomp $text;