diff options
author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-07-02 17:30:33 +0000 |
---|---|---|
committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-07-02 17:30:33 +0000 |
commit | f657bbbd5c879a9ca46f3674883d9c304473d5cd (patch) | |
tree | a941b689d2a65dcb6ec7899296fae21135896a16 | |
parent | a9c7109070c8fae9ced510e2989c9964a69f9862 (diff) |
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
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/modules.c | 4 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 8 insertions, 3 deletions
@@ -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] diff --git a/src/modules.c b/src/modules.c index 53535bdae..374eaae20 100644 --- a/src/modules.c +++ b/src/modules.c @@ -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; } diff --git a/version.log b/version.log index 987cc4df9..bf1924dcb 100644 --- a/version.log +++ b/version.log @@ -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 |