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

fix bug with chat context timestamps not parsing is different machine locales

add disallowed client names to default config
fix ping not working for targets
This commit is contained in:
RaidMax
2019-04-08 20:31:32 -05:00
parent 0e91205931
commit c1d879aa25
7 changed files with 21 additions and 6 deletions

View File

@ -259,6 +259,7 @@ namespace IW4MAdmin.Application
newConfig.AutoMessages = defaultConfig.AutoMessages;
newConfig.GlobalRules = defaultConfig.GlobalRules;
newConfig.Maps = defaultConfig.Maps;
newConfig.DisallowedClientNames = defaultConfig.DisallowedClientNames;
newConfig.QuickMessages = defaultConfig.QuickMessages;
if (newConfig.Servers == null)
@ -287,7 +288,7 @@ namespace IW4MAdmin.Application
}
}
else if (config != null)
else
{
if (string.IsNullOrEmpty(config.Id))
{
@ -323,7 +324,7 @@ namespace IW4MAdmin.Application
}
}
else if (config.Servers.Count == 0)
if (config.Servers.Count == 0)
{
throw new ServerException("A server configuration in IW4MAdminSettings.json is invalid");
}