mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
NetDB: Don't lookup RI if temp. banlisted
This commit is contained in:
+1
-1
@@ -823,7 +823,7 @@ public abstract class KademliaNetworkDatabaseFacade extends NetworkDatabaseFacad
|
||||
if (ri != null) {
|
||||
if (onFindJob != null)
|
||||
_context.jobQueue().addJob(onFindJob);
|
||||
} else if (_context.banlist().isBanlistedForever(key)) {
|
||||
} else if (_context.banlist().isBanlisted(key)) {
|
||||
if (onFailedLookupJob != null)
|
||||
_context.jobQueue().addJob(onFailedLookupJob);
|
||||
} else if (isNegativeCached(key)) {
|
||||
|
||||
Reference in New Issue
Block a user