mirror of
https://github.com/anope/anope.git
synced 2026-06-27 18:46:39 +02:00
Allow the config parser to skip over gettext's _() to allow translating config values
This commit is contained in:
@@ -1645,6 +1645,8 @@ void ServerConfig::LoadConf(ConfigurationFile &file)
|
||||
++c;
|
||||
continue;
|
||||
}
|
||||
else if (!in_word && (ch == '(' || ch == '_' || ch == ')'))
|
||||
;
|
||||
else if (ch == '"')
|
||||
{
|
||||
// Quotes are valid only in the value position
|
||||
|
||||
Reference in New Issue
Block a user