]> git.donarmstrong.com Git - infobot.git/commitdiff
overwrite older files
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Thu, 24 Jun 2004 21:33:23 +0000 (21:33 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Thu, 24 Jun 2004 21:33:23 +0000 (21:33 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@959 c11ca15a-4712-0410-83d8-924469b57eb5

src/Misc.pl

index 3163bb3201690e9970d289305af6e4929806326b..295d45ed0bbd1e4b8c8693c7fa51222ee5bb1b1d 100644 (file)
@@ -479,7 +479,7 @@ sub isFileUpdated {
 
     my $time_file = (stat $file)[9];
 
-    if ($time == $time_file) {
+    if ($time <= $time_file) {
        return 0;
     } else {
        return 1;