projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
1. remove %nn strings from dups of announces and spots
[spider.git]
/
perl
/
Spot.pm
diff --git
a/perl/Spot.pm
b/perl/Spot.pm
index 67d8a6580aae023dfc6664c3985babfad0c7f9e5..7e621c91f4a947b4f7efa75e8c742916a9440c94 100644
(file)
--- a/
perl/Spot.pm
+++ b/
perl/Spot.pm
@@
-300,6
+300,7
@@
sub dup
chomp $text;
$text = substr($text, 0, $duplth) if length $text > $duplth;
unpad($text);
+ $text =~ s/[\\\%]\d+//g;
$text =~ s/[^a-zA-Z0-9]//g;
my $dupkey = "X$freq|$call|$d|\L$text";
return DXDupe::check($dupkey, $main::systime+$dupage);