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

Merge usefulness of Timer and CallBack classes into Timer, and fix it to really work

This commit is contained in:
Adam
2013-03-30 23:38:40 -05:00
parent 111d6a9178
commit 7e7556f064
14 changed files with 71 additions and 61 deletions
-6
View File
@@ -449,12 +449,6 @@ bool ModuleManager::SetPriority(Module *mod, Implementation i, Priority s, Modul
return true;
}
void ModuleManager::ClearCallBacks(Module *m)
{
while (!m->callbacks.empty())
delete m->callbacks.front();
}
void ModuleManager::UnloadAll()
{
std::vector<Anope::string> modules[MT_END];