1
0
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:
RaidMax
2018-02-17 14:06:37 -06:00
parent 224ba2b334
commit 2e0b5f2d71
4 changed files with 12 additions and 28 deletions

View File

@ -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;