mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
fix early NPE
This commit is contained in:
@@ -163,7 +163,7 @@ public class Banlist {
|
||||
_log.error("wtf, why did we try to banlist null?", new Exception("banfaced"));
|
||||
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"));
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user