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

fix bug with AC failing to ban because of EF issue.

This commit is contained in:
RaidMax
2018-07-05 21:04:34 -05:00
parent d4cc01e3ba
commit 6fb99864b7
3 changed files with 9 additions and 3 deletions

View File

@ -180,6 +180,10 @@ namespace IW4MAdmin
{
client.CurrentAlias = existingAlias;
client.CurrentAliasId = existingAlias.AliasId;
// we need to update their new ip and name to the virtual property
client.Name = polledPlayer.Name;
client.IPAddress = polledPlayer.IPAddress;
client = await Manager.GetClientService().Update(client);
}