summaryrefslogtreecommitdiff
path: root/src/core/os_modunload.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/os_modunload.c')
-rw-r--r--src/core/os_modunload.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/os_modunload.c b/src/core/os_modunload.c
index fdc51d402..2c967f84d 100644
--- a/src/core/os_modunload.c
+++ b/src/core/os_modunload.c
@@ -73,13 +73,12 @@ int do_modunload(User *u)
return MOD_CONT;
}
- alog("Trying to unload module [%s]", m->name);
+ alog("Trying to unload module [%s]", name);
status = unloadModule(m, u);
if (!status)
{
- alog("Module unloading status: %d (%s)", status, ModuleGetErrStr(status));
notice_lang(s_OperServ, u, OPER_MODULE_REMOVE_FAIL, name);
}