1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 11:36:38 +02:00

BUILD : 1.7.10 (844) BUGS : NOTES : Fixed module languages defaulting to english instead of NSDefLanguage

git-svn-id: svn://svn.anope.org/anope/trunk@844 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@597 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
2005-07-02 17:30:33 +00:00
parent a9c7109070
commit f657bbbd5c
3 changed files with 8 additions and 3 deletions
+1
View File
@@ -4,6 +4,7 @@ Provided by Anope Dev. <dev@anope.org> - 2005
07/01 A Events for channel access/xop updates. [ #00]
06/26 A New module pack module: hs_request. [ #00]
06/03 A Protocol files can now fill mod_current_buffer with custom code. [#389]
07/02 F Module languages now default to NSDefLanguage, not English. [ #00]
07/02 F Various compile warnings when using AMD64. [ #00]
07/01 F Modules will now be properly unloaded on shutdown. [ #00]
07/01 F Modules now use a more random filename in the runtime folder. [#400]
+2 -2
View File
@@ -2486,7 +2486,7 @@ void moduleNoticeLang(char *source, User * u, int number, ...)
va_list va;
char buffer[4096], outbuf[4096];
char *fmt = NULL;
int lang = LANG_EN_US;
int lang = NSDefLanguage;
char *s, *t, *buf;
if ((mod_current_module_name) && (!mod_current_module || strcmp(mod_current_module_name, mod_current_module->name))) {
@@ -2497,7 +2497,7 @@ void moduleNoticeLang(char *source, User * u, int number, ...)
lang = u->na->nc->language;
}
/* If the users lang isnt supported, drop back to enlgish */
/* If the users lang isnt supported, drop back to English */
if (mod_current_module->lang[lang].argc == 0) {
lang = LANG_EN_US;
}
+5 -1
View File
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="10"
VERSION_BUILD="843"
VERSION_BUILD="844"
# $Log$
#
# BUILD : 1.7.10 (844)
# BUGS :
# NOTES : Fixed module languages defaulting to english instead of NSDefLanguage
#
# BUILD : 1.7.10 (843)
# BUGS :
# NOTES : Fixed various compile warnings on AMD64 systems