summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/os_modunload.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/os_modunload.c b/src/core/os_modunload.c
index 994a056ad..6fede733b 100644
--- a/src/core/os_modunload.c
+++ b/src/core/os_modunload.c
@@ -6,8 +6,8 @@
* Please read COPYING and README for further details.
*
* Based on the original code of Epona by Lara.
- * Based on the original code of Services by Andy Church.
- *
+ * Based on the original code of Services by Andy Church.
+ *
* $Id$
*
*/
@@ -78,7 +78,7 @@ int do_modunload(User *u)
status = ModuleManager::UnloadModule(m, u);
- if (!status)
+ if (status != MOD_ERR_OK)
{
notice_lang(s_OperServ, u, OPER_MODULE_REMOVE_FAIL, name);
}