1
0
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:
Adam
2013-01-13 05:37:40 -05:00
parent 402e42fd15
commit d3a6bdc68b
3 changed files with 13 additions and 11 deletions
+2
View File
@@ -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