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

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
This commit is contained in:
rburchell
2009-02-19 00:23:14 +00:00
parent 23f5e9de79
commit c917ca5a34
4 changed files with 11 additions and 412 deletions
-12
View File
@@ -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;