diff --git a/router/java/src/net/i2p/router/Banlist.java b/router/java/src/net/i2p/router/Banlist.java index e5612a36a..180e9366f 100644 --- a/router/java/src/net/i2p/router/Banlist.java +++ b/router/java/src/net/i2p/router/Banlist.java @@ -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; }