We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86830bd commit f9e1da9Copy full SHA for f9e1da9
1 file changed
IPBanCore/Core/IPBan/IPBanConfig.cs
@@ -640,7 +640,6 @@ public static string GetConfigAppSetting(XmlDocument doc, string key)
640
return null;
641
}
642
643
- XmlNode appSettings = doc.SelectSingleNode($"/configuration/appSettings") ?? throw new InvalidOperationException("Unable to find appSettings in config");
644
XmlNode existingSetting = doc.SelectSingleNode($"/configuration/appSettings/add[@key='{key}']");
645
if (existingSetting is null)
646
{
0 commit comments