allow surfing, if no timelimit set.

thx, theli


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@920 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
allo 20 years ago
parent 0ae166c522
commit 9ff2bd2f0e

@ -246,7 +246,7 @@ public final class userDB {
}
public boolean canSurf(){
if( this.getTimeLimit().longValue() <= 0 || (this.updateLastAccess(true) < this.getTimeLimit().longValue()) )//no timelimit or timelimit not reached
if( this.getTimeLimit() == null || this.getTimeLimit().longValue() <= 0 || (this.updateLastAccess(true) < this.getTimeLimit().longValue()) )//no timelimit or timelimit not reached
return true;
else
return false;

Loading…
Cancel
Save