From b9aeca470819133ff45ff978c066897b2b60c4cc Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Thu, 6 Nov 2008 15:48:55 +0000 Subject: 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 --- include/modules.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') 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 */ -- cgit