diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-19 00:23:14 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-19 00:23:14 +0000 |
commit | c917ca5a34340f1020d4fe5b963232241efd5974 (patch) | |
tree | 378cec0c00c6d297325443dec2a56ddc1f7ff956 /src/module.cpp | |
parent | 23f5e9de79047b448282d6984db3f12511b751eb (diff) |
Remove (and neuter) old event system. Not used by anything in core.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2116 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/module.cpp')
-rw-r--r-- | src/module.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/module.cpp b/src/module.cpp index af002d94e..e080ac868 100644 --- a/src/module.cpp +++ b/src/module.cpp @@ -69,10 +69,8 @@ Module::~Module() int idx; CommandHash *current = NULL; - EvtHookHash *ehcurrent = NULL; Command *c; - EvtHook *eHook; int status = 0; /* Kill any active callbacks this module has */ @@ -129,16 +127,6 @@ Module::~Module() } } } - - for (ehcurrent = EVENTHOOKS[idx]; ehcurrent; - ehcurrent = ehcurrent->next) { - for (eHook = ehcurrent->evh; eHook; eHook = eHook->next) { - if ((eHook->mod_name) - && (stricmp(eHook->mod_name, this->name.c_str()) == 0)) { - status = delEventHook(EVENTHOOKS, eHook, this->name.c_str()); - } - } - } } int index = 0; |