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

@ -22,6 +22,12 @@ namespace SharedLibraryCore.Services
/// <returns></returns>
public async Task AddPersistentMeta(string metaKey, string metaValue, EFClient client)
{
// this seems to happen if the client disconnects before they've had time to authenticate and be added
if (client.ClientId < 1)
{
return;
}
using (var ctx = new DatabaseContext())
{
var existingMeta = await ctx.EFMeta