1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 13:03:14 +02:00

Merge prepForUnload with module destructor.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1609 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Robin Burchell w00t@inspircd.org
2008-11-09 02:50:14 +00:00
parent d2cb6b78c1
commit 04e2597df2
2 changed files with 106 additions and 135 deletions
-1
View File
@@ -350,7 +350,6 @@ int loadModule(const std::string &modname, User *u);
int encryption_module_init(void); /* Load the encryption module */
int protocol_module_init(void); /* Load the IRCD Protocol Module up*/
int unloadModule(Module *m, User *u); /* Unload the given module from the pro */
int prepForUnload(Module *m); /* Prepare the module for unload */
void moduleCallBackPrepForUnload(const char *mod_name);
MDE void moduleCallBackDeleteEntry(ModuleCallBack * prev);
MDE char *moduleGetLastBuffer(void);