projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove the mod commnd from the pc9x check and revert
[spider.git]
/
perl
/
DXProtHandle.pm
diff --git
a/perl/DXProtHandle.pm
b/perl/DXProtHandle.pm
index 0d046f50f5ea41ff8b4bf27c5c5d005e87cb1205..e0f327e71de05c3f8778215b4373832aa21c90fa 100644
(file)
--- a/
perl/DXProtHandle.pm
+++ b/
perl/DXProtHandle.pm
@@
-1517,7
+1517,7
@@
sub check_pc9x_t
# and old dupes with $t = 234, $lastid = 256 (which give answers 249 and
# 86378 respectively in the calculation below).
#
# and old dupes with $t = 234, $lastid = 256 (which give answers 249 and
# 86378 respectively in the calculation below).
#
- if (
($t-$lastid)%86400
> $pc9x_past_age) {
+ if (
$t+86400-$lastid
> $pc9x_past_age) {
dbg("PCPROT: dup id on $t <= lastid $lastid, ignored") if isdbg('chanerr') || isdbg('pc92dedupe');
return undef;
}
dbg("PCPROT: dup id on $t <= lastid $lastid, ignored") if isdbg('chanerr') || isdbg('pc92dedupe');
return undef;
}