From 2daa4991d1d8871ac9811ede4d1286e92d5f61d3 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Tue, 21 Jun 2022 16:57:06 -0500 Subject: [PATCH] fix issue with previous change --- 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 33a528d48..fbbd9056a 100644 --- a/Application/RConParsers/BaseRConParser.cs +++ b/Application/RConParsers/BaseRConParser.cs @@ -53,7 +53,7 @@ namespace IW4MAdmin.Application.RConParsers Configuration.Status.AddMapping(ParserRegex.GroupType.RConName, 5); Configuration.Status.AddMapping(ParserRegex.GroupType.RConIpAddress, 7); - Configuration.Dvar.Pattern = "^\"(.+)\" is: \"(.+)?\" default: \"(.+)?\"\n(?:latched: \"(.+)?\"\n)? *(.+)$"; + Configuration.Dvar.Pattern = "^\"(.+)\" is: \"(.+)?\" default: \"(.+)?\"\n?(?:latched: \"(.+)?\"\n?)? *(.+)$"; Configuration.Dvar.AddMapping(ParserRegex.GroupType.RConDvarName, 1); Configuration.Dvar.AddMapping(ParserRegex.GroupType.RConDvarValue, 2); Configuration.Dvar.AddMapping(ParserRegex.GroupType.RConDvarDefaultValue, 3);