projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dd9bf90
)
latest spot dupe incarnation
author
minima
<minima>
Fri, 25 Feb 2005 21:05:09 +0000
(21:05 +0000)
committer
minima
<minima>
Fri, 25 Feb 2005 21:05:09 +0000
(21:05 +0000)
perl/Spot.pm
patch
|
blob
|
history
diff --git
a/perl/Spot.pm
b/perl/Spot.pm
index 3844e05508e4e77661b8ea3b70e6d9057e8c3929..85678a4dc2cf398ccb2a69fdac5ab4eac1b365f0 100644
(file)
--- a/
perl/Spot.pm
+++ b/
perl/Spot.pm
@@
-370,14
+370,14
@@
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;
$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;
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;
DXDupe::add($ldupkey, $main::systime+$dupage);
DXDupe::add($ldupkey, $main::systime+$dupage);
- DXDupe::add($sdupkey, $main::systime+$dupage);
+# my $sdupkey = "X$freq|$call|$by";
+# $t = DXDupe::find($sdupkey);
+# return 1 if $t && $t - $main::systime > 0;
+# DXDupe::add($sdupkey, $main::systime+$dupage);
return 0;
}
return 0;
}