1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 19:56:39 +02:00

Just store lang strings in a char array, no need for the extra overhead of STL strings

This commit is contained in:
Adam
2010-11-07 17:10:19 -05:00
parent 4ec661c0bb
commit 28aba58e25
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -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."),