diff options
-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 |