1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-13 08:38:19 -05:00

fix aliases for real (hopefully)

fix bug with flag not being applied
fix level being set based on IP instead of IP and name
This commit is contained in:
RaidMax
2018-12-31 20:52:19 -06:00
parent dd31f30876
commit 5a1525835a
6 changed files with 86 additions and 41 deletions

View File

@ -459,7 +459,10 @@ namespace SharedLibraryCore.Database.Models
var loc = Utilities.CurrentLocalization.LocalizationIndex;
var autoKickClient = Utilities.IW4MAdminClient(CurrentServer);
await CurrentServer.Manager.GetClientService().UpdateAlias(this);
if (ipAddress != null)
{
await CurrentServer.Manager.GetClientService().UpdateAlias(this);
}
OnConnect();