Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

limitless Accounts (set timelimit = 0)

allo141417821e43
diff --git a/source/de/anomic/data/userDB.java b/source/de/anomic/data/userDB.java
index aa292b152..f41649bed 100644
--- a/source/de/anomic/data/userDB.java
+++ b/source/de/anomic/data/userDB.java
@@ -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;