diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-09 03:11:54 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-09 03:11:54 +0000 |
commit | df30d0bc2a52abd9889d754d30ce6aba70ae87cd (patch) | |
tree | f2a63ab31674712decedbf0528d3e7d1f89d031b /src/modules.c | |
parent | d35316711894c64f781d923a88243da5757cc2ab (diff) |
Move modules_core_init() to ModuleManager::LoadModuleList().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1612 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules.c')
-rw-r--r-- | src/modules.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/modules.c b/src/modules.c index 88e788aa7..296700354 100644 --- a/src/modules.c +++ b/src/modules.c @@ -171,25 +171,6 @@ static int displayMessageFromHash(const char *name) /************************************************/ /** - * Load up a list of modules. - * @param number The number of modules to load - * @param list The list of modules to load - **/ -void modules_core_init(int number, char **list) -{ - int idx; - Module *m; - int status = 0; - for (idx = 0; idx < number; idx++) { - m = findModule(list[idx]); - if (!m) { - status = loadModule(list[idx], NULL); - mod_current_module = NULL; - mod_current_user = NULL; - } - } -} -/** * **/ int encryption_module_init(void) { |