Don't update IP twice

- IP is updated in datasource#updateSession after successful login
- Remove no longer used DataSource#updateIp
This commit is contained in:
ljacqu
2016-07-12 21:43:07 +02:00
parent 724de1e121
commit dccbd5262f
7 changed files with 0 additions and 72 deletions
@@ -229,15 +229,6 @@ public class CacheDataSource implements DataSource {
return result;
}
@Override
public boolean updateIp(String user, String ip) {
boolean result = source.updateIp(user, ip);
if (result) {
cachedAuths.refresh(user);
}
return result;
}
@Override
public List<PlayerAuth> getAllAuths() {
return source.getAllAuths();