mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-21 00:26:53 +00:00
[Bleeding] Block listed IPs from being supered. Resolves #201
This commit is contained in:
@ -566,7 +566,7 @@ public class TFM_AdminList
|
||||
{
|
||||
superadmin.setLastLogin(new Date());
|
||||
|
||||
if (ip != null)
|
||||
if (ip != null && !TFM_MainConfig.getList(TFM_ConfigEntry.NOADMIN_IPS).contains(ip))
|
||||
{
|
||||
superadmin.addIp(ip);
|
||||
}
|
||||
|
Reference in New Issue
Block a user