From: timriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Date: Thu, 24 Jun 2004 21:33:23 +0000 (+0000)
Subject: overwrite older files
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=50934f6bbdfc3e4826435a25951164a7e29ab911;p=infobot.git

overwrite older files


git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@959 c11ca15a-4712-0410-83d8-924469b57eb5
---

diff --git a/src/Misc.pl b/src/Misc.pl
index 3163bb3..295d45e 100644
--- a/src/Misc.pl
+++ b/src/Misc.pl
@@ -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;