From 459c7947ce73e215fda45abb4266165451ea2992 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 24 Apr 2025 12:48:48 +0100 Subject: [PATCH] Fix skipping lone $ values within config values. --- src/config.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/config.cpp b/src/config.cpp index a356bcd80..348bd9dd8 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -994,7 +994,10 @@ Anope::string Conf::ReplaceVars(const Anope::string &str, const File &file, int } if (++it == str.end() || *it != '{') + { + ret.push_back('$'); continue; + } it++; Anope::string var;