mirror of
https://github.com/anope/anope.git
synced 2026-07-09 04:23:13 +02:00
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
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user