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-09 19:03:56 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-09 19:03:56 +0000
commit649a12c07ffd4340594486d31fa703fb78103222 (patch)
tree66b354a55523a12b8ad9c732f78c4df30fc0a8cd /include/modules.h
parent65fd49d3628dd8d3bde8f70b58ac458785a261d7 (diff)
addModule + delModule compressed into constructor/destructor.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1615 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/modules.h b/include/modules.h
index 4f3962682..28b3065d7 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -146,7 +146,7 @@ CoreExport class Module
std::string filename;
void *handle;
- time_t time;
+ time_t created;
std::string version;
std::string author;
@@ -376,8 +376,6 @@ struct EvtHookHash_ {
/*************************************************************************/
/* Module Managment Functions */
-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 */
int encryption_module_init(void); /* Load the encryption module */