From: Dirk Koopman Date: Fri, 16 Nov 2007 18:52:31 +0000 (+0000) Subject: remove the mod commnd from the pc9x check and revert X-Git-Tag: 1.55~36 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=a3b23e9c008d64f0113aa162030f137312df7c60;p=spider.git remove the mod commnd from the pc9x check and revert --- 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; } diff --git a/perl/Version.pm b/perl/Version.pm index 2dcc345c..b5d0b56b 100644 --- a/perl/Version.pm +++ b/perl/Version.pm @@ -11,6 +11,6 @@ use vars qw($version $subversion $build); $version = '1.54'; $subversion = '0'; -$build = '183'; +$build = '184'; 1;