X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FSpot.pm;h=e2b5c7eff3cd889f9780b153fa02d0049f10950e;hb=23bebd4158e9b66ba5c72c786e76309f6e2b5757;hp=e7a619e0c7e0e42b272b35e2ed1175d5ef3b7103;hpb=44bab9382ffb0bf12639af84729d1c42ac4d9ae2;p=spider.git diff --git a/perl/Spot.pm b/perl/Spot.pm index e7a619e0..e2b5c7ef 100644 --- a/perl/Spot.pm +++ b/perl/Spot.pm @@ -215,7 +215,8 @@ sub dup chomp $text; $text = substr($text, 0, $duplth) if length $text > $duplth; unpad($text); - my $dupkey = "X$freq|$call|$d|$text"; + $text =~ s/[^a-zA-Z0-9]//g; + my $dupkey = "X$freq|$call|$d|\L$text"; return DXDupe::check($dupkey, $main::systime+$dupage); }