diff options
| author | Adam <Adam@anope.org> | 2010-11-07 17:10:19 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-12-12 19:30:28 -0500 |
| commit | 28aba58e250fd6d58b0dff3bbc9ee8bbe172df24 (patch) | |
| tree | c2ff2f77db5f57e81eae0ca143f70ecb0ee1be8d /include | |
| parent | 4ec661c0bb67110c77caa7b7795ef30154de81ef (diff) | |
Just store lang strings in a char array, no need for the extra overhead of STL strings
Diffstat (limited to 'include')
| -rw-r--r-- | include/extern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/extern.h b/include/extern.h index 02b5d91f8..a3e919e5b 100644 --- a/include/extern.h +++ b/include/extern.h @@ -160,7 +160,7 @@ E const Anope::string GetString(LanguageString string); E const Anope::string GetString(NickCore *nc, LanguageString string); E const Anope::string GetString(User *u, LanguageString string); E const Anope::string GetString(const char *domain, Anope::string language, const Anope::string &string); -E Anope::string language_strings[LANG_STRING_COUNT]; +E const char *const language_strings[LANG_STRING_COUNT]; E void SyntaxError(BotInfo *bi, User *u, const Anope::string &command, LanguageString message); /*** logger.cpp ***/ |
