X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProtHandle.pm;h=e0f327e71de05c3f8778215b4373832aa21c90fa;hb=a3b23e9c008d64f0113aa162030f137312df7c60;hp=0d046f50f5ea41ff8b4bf27c5c5d005e87cb1205;hpb=bf54094816fc2169e93adbddcba219e241de4e7f;p=spider.git diff --git a/perl/DXProtHandle.pm b/perl/DXProtHandle.pm index 0d046f50..e0f327e7 100644 --- 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). # - 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; }