X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FSpot.pm;h=82563bba003126666ce16e9ab0e3beb9c39511b7;hb=963f15d001aad3809087081ff5a0df550606dadc;hp=61bc1a25959424bce67ced5ee6a37660e949ccb7;hpb=c59e6497c9717e7585fb87c7c9ce9aee0d62a373;p=spider.git diff --git a/perl/Spot.pm b/perl/Spot.pm index 61bc1a25..82563bba 100644 --- a/perl/Spot.pm +++ b/perl/Spot.pm @@ -337,12 +337,12 @@ sub dup $text = substr($text, 0, $duplth) if length $text > $duplth; $text = pack("C*", map {$_ & 127} unpack("C*", $text)); $text =~ s/[^a-zA-Z0-9]//g; - my $ldupkey = "X$freq|$call|" . uc $text; - my $sdupkey = "X$freq|$call|$by"; + my $ldupkey = "X$freq|$call|$by" . uc $text; my $t = DXDupe::find($ldupkey); - return 1 if $t && $t - $main::systime > 0; - $t = DXDupe::find($sdupkey); - return 1 if $t && $t - $main::systime > 0; + return 1 if $t && $t - $main::systime > 0; +# my $sdupkey = "X$freq|$call|$by"; +# $t = DXDupe::find($sdupkey); +# return 1 if $t && $t - $main::systime > 0; DXDupe::add($ldupkey, $main::systime+$dupage); DXDupe::add($sdupkey, $main::systime+$dupage); return 0;