X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FSpot.pm;h=0ab1a5166f29996ab8f3217f02413f88a481325b;hb=ca9d4ac13a4518e34fd765a74cfec18730ae3829;hp=995bad539e4bb9450134a515a4aa642a21c014d9;hpb=c977c78eb2f5a33471c9eb5f836ceb8581793fe2;p=spider.git diff --git a/perl/Spot.pm b/perl/Spot.pm index 995bad53..0ab1a516 100644 --- a/perl/Spot.pm +++ b/perl/Spot.pm @@ -338,6 +338,7 @@ sub dup $text =~ s/\b\w{1,4}$// if $prefix && Prefix::extract($prefix); $text = substr($text, 0, $duplth) if length $text > $duplth; $text = pack("C*", map {$_ & 127} unpack("C*", $text)); + $text =~ s/[^\w]//g; my $ldupkey = "X$freq|$call|$by|$text"; my $t = DXDupe::find($ldupkey); return 1 if $t && $t - $main::systime > 0;