]> dxcluster.org Git - spider.git/commitdiff
remove the mod commnd from the pc9x check and revert
authorDirk Koopman <djk@tobit.co.uk>
Fri, 16 Nov 2007 18:52:31 +0000 (18:52 +0000)
committerDirk Koopman <djk@tobit.co.uk>
Fri, 16 Nov 2007 18:52:31 +0000 (18:52 +0000)
perl/DXProtHandle.pm
perl/Version.pm

index 0d046f50f5ea41ff8b4bf27c5c5d005e87cb1205..e0f327e71de05c3f8778215b4373832aa21c90fa 100644 (file)
@@ -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;
                                        }
index 2dcc345c11ddde32e50bc1d4b221b6d25658423e..b5d0b56b04b457ee1094068a7f6f4c7ba9f835d4 100644 (file)
@@ -11,6 +11,6 @@ use vars qw($version $subversion $build);
 
 $version = '1.54';
 $subversion = '0';
-$build = '183';
+$build = '184';
 
 1;