]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modmanager_static.cpp
Add a short message at the top of permchannel DB, and ensure config format is compat
[user/henk/code/inspircd.git] / src / modmanager_static.cpp
index d9ee07a257a7190754c299a76e4986b9da42da6e..ee9dc21078e248b40064965be454fde575b74be3 100644 (file)
@@ -58,7 +58,7 @@ class AllModule : public Module
 
 MODULE_INIT(AllModule)
 
-bool ModuleManager::Load(const char* name)
+bool ModuleManager::Load(const std::string& name, bool)
 {
        for(std::vector<AllModuleList*>::iterator i = modlist->begin(); i != modlist->end(); ++i)
        {
@@ -145,7 +145,6 @@ void ModuleManager::LoadAll()
                        c->ModuleDLLManager = NULL;
                        Modules[(**i).name] = c;
                        c->init();
-                       FOREACH_MOD(I_OnLoadModule,OnLoadModule(c));
                }
                catch (CoreException& modexcept)
                {
@@ -177,7 +176,6 @@ void ModuleManager::LoadAll()
 
 void ModuleManager::UnloadAll()
 {
-       // TODO don't really need this, who cares if we leak on exit?
 }
 
 #endif