mirror of
https://github.com/anope/anope.git
synced 2026-07-09 03:23:13 +02:00
BUILD : 1.7.17 (1212) BUGS : 652 NOTES : Fixed handleModuleOperationQueue to also include error messages instead of only error numbers
git-svn-id: svn://svn.anope.org/anope/trunk@1212 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@931 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
c0c0a6441e
commit
fa67b03616
@@ -19,6 +19,7 @@ Anope Version S V N
|
||||
12/24 F Small typo in CHAN_REGISTER_NONE_CHANNEL. [#647]
|
||||
12/24 F Display error messages when RDB functions fail. [ #00]
|
||||
12/27 F ModuleNoticeLang was printf'ing twice. [#650]
|
||||
12/27 F Module (un)loading was only giving error numbers, not messages. [#652]
|
||||
|
||||
Anope Version 1.7.17
|
||||
--------------------
|
||||
|
||||
+2
-2
@@ -2765,7 +2765,7 @@ void handleModuleOperationQueue(void)
|
||||
if (mod_operation_queue->op == MOD_OP_LOAD) {
|
||||
alog("Trying to load module [%s]", mod_operation_queue->m->name);
|
||||
status = loadModule(mod_operation_queue->m, mod_operation_queue->u);
|
||||
alog("Module loading status: %d", status);
|
||||
alog("Module loading status: %d (%s)", status, ModuleGetErrStr(status));
|
||||
if (status != MOD_ERR_OK) {
|
||||
if(mod_current_user) {
|
||||
notice_lang(s_OperServ, mod_current_user, OPER_MODULE_LOAD_FAIL,mod_operation_queue->m->name);
|
||||
@@ -2775,7 +2775,7 @@ void handleModuleOperationQueue(void)
|
||||
} else if (mod_operation_queue->op == MOD_OP_UNLOAD) {
|
||||
alog("Trying to unload module [%s]", mod_operation_queue->m->name);
|
||||
status = unloadModule(mod_operation_queue->m, mod_operation_queue->u);
|
||||
alog("Module unloading status: %d", status);
|
||||
alog("Module unloading status: %d (%s)", status, ModuleGetErrStr(status));
|
||||
}
|
||||
|
||||
/* Remove the ModuleQueue from memory */
|
||||
|
||||
+5
-1
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="17"
|
||||
VERSION_EXTRA="-svn"
|
||||
VERSION_BUILD="1211"
|
||||
VERSION_BUILD="1212"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.17 (1212)
|
||||
# BUGS : 652
|
||||
# NOTES : Fixed handleModuleOperationQueue to also include error messages instead of only error numbers
|
||||
#
|
||||
# BUILD : 1.7.17 (1211)
|
||||
# BUGS : 650
|
||||
# NOTES : Fixed ModuleNoticeLang which was formatting the string twice
|
||||
|
||||
Reference in New Issue
Block a user