summaryrefslogtreecommitdiff
path: root/src/core/os_modunload.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-08 00:21:29 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-08 00:21:29 +0000
commitb8c04482bbbe531e48bb1328d17db8acb1e323a0 (patch)
tree3a56e0f1771d9aa249215c18a2de17b4e2e60189 /src/core/os_modunload.c
parente459e5833e10f3de02168ff99f10b28090d90aac (diff)
This compiles. I have absolutely no idea if it works.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1579 5417fbe8-f217-4b02-8779-1006273d7864
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);
}