diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-15 12:51:03 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-15 12:51:03 +0000 |
commit | 1da6b93633346c43cf5e6b7b1dd13b2355022bc4 (patch) | |
tree | c2e2c7410de0c7559841c87d804ab828f25f50a4 /src/module.cpp | |
parent | 3fce6d680ddf0c10d93af69231c22c3960023393 (diff) |
Nuke eventprintf() and EvtMessage from orbit
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1691 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/module.cpp')
-rw-r--r-- | src/module.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/module.cpp b/src/module.cpp index 18b22180e..f20404467 100644 --- a/src/module.cpp +++ b/src/module.cpp @@ -78,12 +78,10 @@ Module::~Module() int idx; CommandHash *current = NULL; MessageHash *mcurrent = NULL; - EvtMessageHash *ecurrent = NULL; EvtHookHash *ehcurrent = NULL; Command *c; Message *msg; - EvtMessage *eMsg; EvtHook *eHook; int status = 0; @@ -162,14 +160,6 @@ Module::~Module() } } - for (ecurrent = EVENT[idx]; ecurrent; ecurrent = ecurrent->next) { - for (eMsg = ecurrent->evm; eMsg; eMsg = eMsg->next) { - if ((eMsg->mod_name) - && (stricmp(eMsg->mod_name, this->name.c_str()) == 0)) { - status = delEventHandler(EVENT, eMsg, this->name.c_str()); - } - } - } for (ehcurrent = EVENTHOOKS[idx]; ehcurrent; ehcurrent = ehcurrent->next) { for (eHook = ehcurrent->evh; eHook; eHook = eHook->next) { |