I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 7f9c565c authored by zzz's avatar zzz
Browse files

fix early NPE

parent 201afc82
No related branches found
No related tags found
No related merge requests found
...@@ -163,7 +163,7 @@ public class Banlist { ...@@ -163,7 +163,7 @@ public class Banlist {
_log.error("wtf, why did we try to banlist null?", new Exception("banfaced")); _log.error("wtf, why did we try to banlist null?", new Exception("banfaced"));
return false; return false;
} }
if (_context.routerHash().equals(peer)) { if (peer.equals(_context.routerHash())) {
_log.error("wtf, why did we try to banlist ourselves?", new Exception("banfaced")); _log.error("wtf, why did we try to banlist ourselves?", new Exception("banfaced"));
return false; return false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment