summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-06 15:48:55 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-06 15:48:55 +0000
commitb9aeca470819133ff45ff978c066897b2b60c4cc (patch)
treec05fb0d0681cdb36e6044c826e62f5341e91e692 /include/modules.h
parent88f9975f4071843846ef94d5ad6799e7471a8036 (diff)
Move createModule and destroyModule into constructor and destructor of class Module.
This won't yet compile, as a lot of stuff throws around newly initialised Module * for no reason, and this needs to change. TODO: - remove mod_current_* stuff - remove module queueing (this will probably require a permanent module flag for os_modunload, but who cares). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1560 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h
index 6e2c06848..4f984f78e 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -275,8 +275,6 @@ struct EvtHookHash_ {
/*************************************************************************/
/* Module Managment Functions */
-MDE Module *createModule(char *filename); /* Create a new module, using the given name */
-int destroyModule(Module *m); /* Delete the module */
int addModule(Module *m); /* Add a module to the module hash */
int delModule(Module *m); /* Remove a module from the module hash */
MDE Module *findModule(const char *name); /* Find a module */