summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/os_modload.c2
-rw-r--r--src/core/os_modunload.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/os_modload.c b/src/core/os_modload.c
index b363a2db8..65287d4e6 100644
--- a/src/core/os_modload.c
+++ b/src/core/os_modload.c
@@ -29,7 +29,7 @@ class CommandOSModLoad : public Command
Module *m = findModule(name);
if (m)
{
- notice_lang(s_OperServ, u, OPER_MODULE_LOAD_FAIL, name);
+ notice_lang(s_OperServ, u, OPER_MODULE_ALREADY_LOADED, name);
return MOD_CONT;
}
diff --git a/src/core/os_modunload.c b/src/core/os_modunload.c
index 8b5bf3bf5..13b998a34 100644
--- a/src/core/os_modunload.c
+++ b/src/core/os_modunload.c
@@ -30,7 +30,7 @@ class CommandOSModUnLoad : public Command
Module *m = findModule(name);
if (!m)
{
- this->OnSyntaxError(u);
+ notice_lang(s_OperServ, u, OPER_MODULE_ISNT_LOADED, name);
return MOD_CONT;
}