Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
allow surfing, if no timelimit set. thx, theli
allo9ff2bd2f0ee7
diff --git a/source/de/anomic/data/userDB.java b/source/de/anomic/data/userDB.javaindex f41649bed..a62d7611a 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.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 reachedreturn true;elsereturn false;