diff options
author | Sadie Powell <sadie@witchery.services> | 2025-04-24 12:48:48 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-04-24 12:48:48 +0100 |
commit | 459c7947ce73e215fda45abb4266165451ea2992 (patch) | |
tree | bd7efd461b2d178da7e387f9f080995c043d7c4d | |
parent | fad0a4a0e888b8025b0ae4e456085e28415b0453 (diff) |
Fix skipping lone $ values within config values.
-rw-r--r-- | src/config.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; |