]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modmanager_static.cpp
Remove OnUserPreNotice and OnUserNotice hooks, add MessageType argument to OnUserMess...
[user/henk/code/inspircd.git] / src / modmanager_static.cpp
index 23f30e1dffa46d795c6714b4fbbdd03dfe1225d5..4c46241958d0da7f3d7630906a01978e615161c0 100644 (file)
@@ -93,6 +93,7 @@ bool ModuleManager::Load(const std::string& name, bool defer)
                mod = (*it->second->init)();
                mod->ModuleSourceFile = name;
                mod->ModuleDLLManager = NULL;
+               mod->dying = false;
                Modules[name] = mod;
                if (defer)
                {
@@ -183,6 +184,7 @@ void ModuleManager::LoadAll()
 {
        Load("cmd_all", true);
        Load("cmd_whowas.so", true);
+       Load("cmd_lusers.so", true);
 
        ConfigTagList tags = ServerInstance->Config->ConfTags("module");
        for(ConfigIter i = tags.first; i != tags.second; ++i)