summaryrefslogtreecommitdiff
path: root/src/modules.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-09 00:27:24 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-09 00:27:24 +0000
commita9fd3fd828ab7b717cb7676f3a9e881b02a05743 (patch)
tree0a7def4b380b287170f03423e479a75a959d5597 /src/modules.c
parent2a2224023fc002a09e269c63c848ae6a84f5c03d (diff)
Merge modules_init() with modules_core_init().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1604 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules.c')
-rw-r--r--src/modules.c32
1 files changed, 1 insertions, 31 deletions
diff --git a/src/modules.c b/src/modules.c
index e1794d3f9..bb7bc8668 100644
--- a/src/modules.c
+++ b/src/modules.c
@@ -171,38 +171,8 @@ static int displayMessageFromHash(const char *name)
/************************************************/
-
-
-
-
-
-/**
- * Automaticaly load modules at startup.
- * This will load modules at startup before the IRCD link is attempted, this
- * allows admins to have a module relating to ircd support load
- */
-void modules_init(void)
-{
- int idx;
- int ret;
- Module *m;
-
- if(nothird) {
- return;
- }
-
- for (idx = 0; idx < ModulesNumber; idx++) {
- m = findModule(ModulesAutoload[idx]);
- if (!m) {
- ret = loadModule(ModulesAutoload[idx], NULL);
- mod_current_module = NULL;
- mod_current_user = NULL;
- }
- }
-}
-
/**
- * Load up a list of core modules from the conf.
+ * Load up a list of modules.
* @param number The number of modules to load
* @param list The list of modules to load
**/