Properly fix FS-33

This commit is contained in:
Nathan Curran 2021-03-07 20:43:25 +11:00
parent 2fb8f224e7
commit 452a8755c2
No known key found for this signature in database
GPG Key ID: B3A964B30C2E56B8

View File

@ -240,8 +240,7 @@ public class AdminList extends FreedomService
public boolean isVerifiedAdmin(Player player)
{
// Fix of issue FS-33
return !verifiedNoAdmin.contains(player.getName()) || verifiedNoAdminIps.containsKey(player.getName()) && !verifiedNoAdminIps.get(player.getName()).contains(FUtil.getIp(player));
return verifiedNoAdmin.contains(player.getName()) || verifiedNoAdminIps.containsKey(player.getName()) && verifiedNoAdminIps.get(player.getName()).contains(FUtil.getIp(player));
}
public boolean isIdentityMatched(Player player)