From 2483f21ece2e8e264a404cbf58579b4f5221ee0e Mon Sep 17 00:00:00 2001 From: Gabriele C Date: Mon, 11 Jul 2016 22:14:51 +0200 Subject: [PATCH] Wtf was that, this may fix a long list of issues! --- .../java/fr/xephi/authme/process/login/AsynchronousLogin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/fr/xephi/authme/process/login/AsynchronousLogin.java b/src/main/java/fr/xephi/authme/process/login/AsynchronousLogin.java index 4d77a815b..6fb7a189f 100644 --- a/src/main/java/fr/xephi/authme/process/login/AsynchronousLogin.java +++ b/src/main/java/fr/xephi/authme/process/login/AsynchronousLogin.java @@ -139,7 +139,7 @@ public class AsynchronousLogin implements AsynchronousProcess { captchaManager.increaseCount(name); tempbanManager.increaseCount(ip); - if ("127.0.0.1".equals(pAuth.getIp()) && !pAuth.getIp().equals(ip)) { + if (!pAuth.getIp().equals(ip)) { pAuth.setIp(ip); database.updateIp(pAuth.getNickname(), ip); }