1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 11:36:36 +02:00

Nuke eventprintf() and EvtMessage from orbit

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1691 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
rburchell
2008-11-15 12:51:03 +00:00
parent 3fce6d680d
commit 1da6b93633
4 changed files with 0 additions and 387 deletions
-10
View File
@@ -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) {