mirror of
https://github.com/anope/anope.git
synced 2026-06-29 16:36:38 +02:00
Fix skipping lone $ values within config values.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user