]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modmanager_dynamic.cpp
Define comparator for irc::sockets::sockaddrs
[user/henk/code/inspircd.git] / src / modmanager_dynamic.cpp
index 05c9740632731a62b998b9d3c7c49d3d36ea2cd2..c0114ed4eb8714c4eb50f8efa5cb5316dc25cfc4 100644 (file)
@@ -282,27 +282,4 @@ void ModuleManager::LoadAll()
        }
 }
 
-void ModuleManager::UnloadAll()
-{
-       /* We do this more than once, so that any service providers get a
-        * chance to be unhooked by the modules using them, but then get
-        * a chance to be removed themsleves.
-        *
-        * Note: this deliberately does NOT delete the DLLManager objects
-        */
-       for (int tries = 0; tries < 4; tries++)
-       {
-               std::map<std::string, Module*>::iterator i = Modules.begin();
-               while (i != Modules.end())
-               {
-                       std::map<std::string, Module*>::iterator me = i++;
-                       if (CanUnload(me->second))
-                       {
-                               DoSafeUnload(me->second);
-                       }
-               }
-               ServerInstance->GlobalCulls.Apply();
-       }
-}
-
 #endif