diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-09 16:56:54 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-09 16:56:54 +0000 |
| commit | 65fd49d3628dd8d3bde8f70b58ac458785a261d7 (patch) | |
| tree | 0b6148ca77f747d4ef2732e5c004292868fd9bf3 /src/core | |
| parent | cd71f37e2d1361498c516715e4b83d5909422327 (diff) | |
Move loadModule() and unloadModule() inside ModuleManager::
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1614 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/os_modload.c | 2 | ||||
| -rw-r--r-- | src/core/os_modunload.c | 2 |
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) { |
