Finally set a value to the API column

This commit is contained in:
games647
2016-09-21 13:24:26 +02:00
parent 1acc825f81
commit 91f41c55de
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
######1.10
* Remove deprecated API methods from the last version
* Finally set a value to the API column
######1.9

View File

@ -26,6 +26,7 @@ public abstract class JoinManagement<T, S extends LoginSource> {
SharedConfig config = core.getConfig();
String ip = source.getAddress().getAddress().getHostAddress();
profile.setLastIp(ip);
try {
if (profile.getUserId() == -1) {
if (core.getPendingLogins().remove(ip + username) != null && config.get("secondAttemptCracked", false)) {