# HG changeset patch # User "Rex Tsai " # Date 1225354785 -28800 # Node ID 6043e9bfdeefa29403473d826768c79f48299366 # Parent 11541129a389b409158b7b58e280d744afccfc24 revert to earier versoin which is easier to read. diff -r 11541129a389 -r 6043e9bfdeef scan.pl --- 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}); }