From f3840ed110ecaac1a2777692b714f283600d9afa Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 26 Sep 2010 15:09:39 -0400 Subject: Added a short docs/LANGUAGES file explaining how to add translations for the core and modules, updated TODO, and fixed a few small bugs --- modules/core/ns_set_language.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/core/ns_set_language.cpp b/modules/core/ns_set_language.cpp index 146ebf19b..b74bac6cc 100644 --- a/modules/core/ns_set_language.cpp +++ b/modules/core/ns_set_language.cpp @@ -39,7 +39,7 @@ class CommandNSSetLanguage : public Command } } - nc->language = param; + nc->language = param != "en" ? param : ""; u->SendMessage(NickServ, NICK_SET_LANGUAGE_CHANGED); return MOD_CONT; -- cgit