mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
fix duplicate bot welcomes
fix prompt bool incorrect default value rename GameEvent.Remote to GameEvent.IsRemote include NetworkId in webfront claims fix non descript error message appearing when something fails and localization is not initialized
This commit is contained in:
@ -53,13 +53,6 @@ namespace SharedLibraryCore.Services
|
||||
private async Task UpdateAlias(string name, int? ip, EFClient entity, DatabaseContext context)
|
||||
{
|
||||
// entity is the tracked db context item
|
||||
// todo: move this out
|
||||
#if DEBUG == false
|
||||
if (entity.IsBot)
|
||||
{
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
// get all aliases by IP address and LinkId
|
||||
var iqAliases = context.Aliases
|
||||
.Include(a => a.Link)
|
||||
@ -377,7 +370,8 @@ namespace SharedLibraryCore.Services
|
||||
ClientId = client.ClientId,
|
||||
Level = client.Level,
|
||||
Password = client.Password,
|
||||
PasswordSalt = client.PasswordSalt
|
||||
PasswordSalt = client.PasswordSalt,
|
||||
NetworkId = client.NetworkId
|
||||
};
|
||||
|
||||
#if DEBUG == true
|
||||
|
Reference in New Issue
Block a user