limitless Accounts (set timelimit = 0)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@914 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
allo 20 years ago
parent 52036caeac
commit 141417821e

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

Loading…
Cancel
Save