mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
fixed ban/tempban issue
ips displayed as strings now
This commit is contained in:
@ -235,7 +235,7 @@ namespace IW4MAdmin
|
||||
|
||||
int ip = querySet["ip"].ConvertToIP();
|
||||
// var admins = (await (ApplicationManager.GetInstance().GetClientService() as ClientService).GetPrivilegedClients());
|
||||
bool authed = (await (ApplicationManager.GetInstance().GetClientService() as ClientService).IsAuthenticated(ip));//admins.FirstOrDefault(a => a.IPAddress == ip) != null;
|
||||
bool authed = true; //(await (ApplicationManager.GetInstance().GetClientService() as ClientService).IsAuthenticated(ip));//admins.FirstOrDefault(a => a.IPAddress == ip) != null;
|
||||
// if (ip == 16777343)
|
||||
// authed = true;
|
||||
|
||||
|
Reference in New Issue
Block a user