From 4025cbcd8ff50687eb7be3fd6834835091bfe575 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Sat, 26 Aug 2023 22:56:59 -0500 Subject: [PATCH] add additional check for bot ping --- Application/RConParsers/BaseRConParser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/RConParsers/BaseRConParser.cs b/Application/RConParsers/BaseRConParser.cs index 4f077ba0a..a918c552f 100644 --- a/Application/RConParsers/BaseRConParser.cs +++ b/Application/RConParsers/BaseRConParser.cs @@ -304,7 +304,7 @@ private List ClientsFromStatus(string[] Status) { networkIdString = match.Values[Configuration.Status.GroupMapping[ParserRegex.GroupType.RConNetworkId]]; - networkId = networkIdString.IsBotGuid() || (ip == null && ping == 999) ? + networkId = networkIdString.IsBotGuid() || (ip == null && ping is 999 or 0) ? name.GenerateGuidFromString() : networkIdString.ConvertGuidToLong(Configuration.GuidNumberStyle); }