diff scan.pl @ 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 0bab14dddf60
children 124fc7abda39
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});
     }