1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

fix more issues with implicit link toggle

This commit is contained in:
RaidMax
2021-08-16 13:20:54 -05:00
parent 3609c471e1
commit 9877730b84
4 changed files with 30 additions and 17 deletions

View File

@ -362,7 +362,7 @@ namespace IW4MAdmin
throw;
}
await E.Origin.OnJoin(E.Origin.IPAddress);
await E.Origin.OnJoin(E.Origin.IPAddress, Manager.GetApplicationSettings().Configuration().EnableImplicitAccountLinking);
}
}
@ -738,7 +738,7 @@ namespace IW4MAdmin
{
try
{
await client.OnJoin(origin.IPAddress);
await client.OnJoin(origin.IPAddress, Manager.GetApplicationSettings().Configuration().EnableImplicitAccountLinking);
}
catch (Exception e)
@ -754,7 +754,7 @@ namespace IW4MAdmin
client.Level == Permission.Banned)
{
ServerLogger.LogWarning("{client} state is Unknown (probably kicked), but they are still connected. trying to kick again...", origin.ToString());
await client.CanConnect(client.IPAddress);
await client.CanConnect(client.IPAddress, Manager.GetApplicationSettings().Configuration().EnableImplicitAccountLinking);
}
}