truncate qrg in spot dupe check
[spider.git] / 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;