summaryrefslogtreecommitdiff
path: root/src/language.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-11-07 17:10:19 -0500
committerAdam <Adam@anope.org>2010-12-12 19:30:28 -0500
commit28aba58e250fd6d58b0dff3bbc9ee8bbe172df24 (patch)
treec2ff2f77db5f57e81eae0ca143f70ecb0ee1be8d /src/language.cpp
parent4ec661c0bb67110c77caa7b7795ef30154de81ef (diff)
Just store lang strings in a char array, no need for the extra overhead of STL strings
Diffstat (limited to 'src/language.cpp')
-rw-r--r--src/language.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/language.cpp b/src/language.cpp
index deb39737a..3fb2beffd 100644
--- a/src/language.cpp
+++ b/src/language.cpp
@@ -133,8 +133,7 @@ void SyntaxError(BotInfo *bi, User *u, const Anope::string &command, LanguageStr
u->SendMessage(bi, MORE_INFO, bi->nick.c_str(), command.c_str());
}
-Anope::string language_strings[LANG_STRING_COUNT] = {
- /* LANGUAGE_NAME */
+const char *const language_strings[LANG_STRING_COUNT] = {
_("English"),
/* COMMAND_REQUIRES_PERM */
_("Access to this command requires the permission %s to be present in your opertype."),