changeset 123:6043e9bfdeef

revert to earier versoin which is easier to read.
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Thu, 30 Oct 2008 16:19:45 +0800
parents 11541129a389
children f8c97e5d77ab
files scan.pl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scan.pl	Thu Oct 30 16:19:24 2008 +0800
+++ b/scan.pl	Thu Oct 30 16:19:45 2008 +0800
@@ -27,7 +27,7 @@
         $c->update();
 
         my $user = Ikariam::User->retrieve($h_city->{'user'});
-        next if (defined($user) && defined($user->time) && (time - 60*60*1) ge $user->time);
+        next if (defined($user) && defined($user->time) && $user->time le (time - 60*60*1));
 
         saveUser($h_city->{owner});
     }