diff options
author | Adam <Adam@anope.org> | 2013-01-13 05:37:40 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-01-13 22:07:27 -0500 |
commit | d3a6bdc68bfc99b6e0926fda18544b58b2c2ca59 (patch) | |
tree | f98ef2426d969c1b2b83e66db782716a922e0bc8 /src | |
parent | 402e42fd15bd9be4b721118bbbae03e22d9f433e (diff) |
Allow the config parser to skip over gettext's _() to allow translating config values
Diffstat (limited to 'src')
-rw-r--r-- | src/config.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.cpp b/src/config.cpp index f287d72ce..6c99e9c6e 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -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 |