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

fix login issue

strip colors for logging
feature implementation for issue #76
This commit is contained in:
RaidMax
2019-08-04 20:38:55 -05:00
parent 38313ab184
commit ab52388ae1
6 changed files with 52 additions and 18 deletions

View File

@ -238,6 +238,15 @@ namespace WebfrontCore.Controllers
{
var server = Manager.GetServers().First(_server => _server.EndPoint == id);
server.ChatHistory.Add(new SharedLibraryCore.Dtos.ChatInfo()
{
ClientId = Client.ClientId,
Message = message,
Name = Client.Name,
ServerGame = server.GameName,
Time = DateTime.Now
});
return await Task.FromResult(RedirectToAction("ExecuteAsync", "Console", new
{
serverId = server.EndPoint,