From df30d0bc2a52abd9889d754d30ce6aba70ae87cd Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Sun, 9 Nov 2008 03:11:54 +0000 Subject: Move modules_core_init() to ModuleManager::LoadModuleList(). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1612 5417fbe8-f217-4b02-8779-1006273d7864 --- src/modules.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/modules.c') diff --git a/src/modules.c b/src/modules.c index 88e788aa7..296700354 100644 --- a/src/modules.c +++ b/src/modules.c @@ -170,25 +170,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; - } - } -} /** * **/ -- cgit