X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FSpot.pm;h=8e8f7fd06ea7f29941ea746d2359432540a836e1;hb=ccd8bcf26e31695caa0c6015e0756eebb2428cb1;hp=b5d560115dc5dd2f7b1502e436df399f83862d32;hpb=cc7d21f9962165b2cdfe5c37814d0764740ee511;p=spider.git diff --git a/perl/Spot.pm b/perl/Spot.pm index b5d56011..8e8f7fd0 100644 --- a/perl/Spot.pm +++ b/perl/Spot.pm @@ -299,7 +299,7 @@ sub dup return 2 if $d < $main::systime - $dupage; $freq = sprintf "%.1f", $freq; # normalise frequency - $call = substr($call, 12) if length $call > 12; + $call = substr($call, 0, 12) if length $call > 12; chomp $text; $text =~ s/\%([0-9A-F][0-9A-F])/chr(hex($1))/eg; $text = substr($text, 0, $duplth) if length $text > $duplth;