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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user