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

allow prompt string to have an empty/default value

upgrade some project dependencies
don't try to run events on parsers
update top players rank distribution
This commit is contained in:
RaidMax
2020-02-17 10:05:31 -06:00
parent 89bee14216
commit 87987f885d
7 changed files with 30 additions and 16 deletions

View File

@ -22,8 +22,9 @@ namespace WebfrontCore.Controllers.API
[HttpGet("{networkId}")]
public IActionResult ClientInfo(string networkId)
{
long decimalNetworkId = networkId.ConvertGuidToLong(System.Globalization.NumberStyles.HexNumber);
var clientInfo = Manager.GetActiveClients()
.FirstOrDefault(c => c.NetworkId == networkId.ConvertGuidToLong(System.Globalization.NumberStyles.HexNumber));
.FirstOrDefault(c => c.NetworkId == decimalNetworkId);
if (clientInfo != null)
{