summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--src/modules.c4
-rw-r--r--version.log6
3 files changed, 8 insertions, 3 deletions
diff --git a/Changes b/Changes
index 9adfe2306..5d0b61a20 100644
--- a/Changes
+++ b/Changes
@@ -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
--------------------
diff --git a/src/modules.c b/src/modules.c
index a57824114..e0d0f8556 100644
--- a/src/modules.c
+++ b/src/modules.c
@@ -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 */
diff --git a/version.log b/version.log
index 71f0762a3..34f3f8c43 100644
--- a/version.log
+++ b/version.log
@@ -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