summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-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 eb83cb1c7..3c7ce4a39 100644
--- a/src/core/os_modload.c
+++ b/src/core/os_modload.c
@@ -71,7 +71,7 @@ int do_modload(User * u)
return MOD_CONT;
}
- int status = loadModule(name, u);
+ int status = ModuleManager::LoadModule(name, u);
if (status != MOD_ERR_OK)
{
notice_lang(s_OperServ, u, OPER_MODULE_LOAD_FAIL, m->name.c_str());
diff --git a/src/core/os_modunload.c b/src/core/os_modunload.c
index bfdf1b323..8fde45fc8 100644
--- a/src/core/os_modunload.c
+++ b/src/core/os_modunload.c
@@ -75,7 +75,7 @@ int do_modunload(User *u)
alog("Trying to unload module [%s]", name);
- status = unloadModule(m, u);
+ status = ModuleManager::UnloadModule(m, u);
if (!status)
{