From 28aba58e250fd6d58b0dff3bbc9ee8bbe172df24 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 7 Nov 2010 17:10:19 -0500 Subject: Just store lang strings in a char array, no need for the extra overhead of STL strings --- src/language.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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."), -- cgit