Wtf was that, this may fix a long list of issues!

This commit is contained in:
Gabriele C 2016-07-11 22:14:51 +02:00
parent 8d54557f3d
commit 2483f21ece

View File

@ -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);
}