From 5dbabb823456744e7442edc2bfde1272bb2edcb1 Mon Sep 17 00:00:00 2001 From: Jackmcbarn Date: Sat, 29 Jan 2011 16:29:33 -0500 Subject: Remove cull_list.h from inspircd.h --- src/modmanager_static.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/modmanager_static.cpp') diff --git a/src/modmanager_static.cpp b/src/modmanager_static.cpp index 2250d9fe8..a00de7037 100644 --- a/src/modmanager_static.cpp +++ b/src/modmanager_static.cpp @@ -126,8 +126,8 @@ namespace { void Call() { ServerInstance->Modules->DoSafeUnload(mod, NULL); - ServerInstance->GlobalCulls.Apply(); - ServerInstance->GlobalCulls.AddItem(this); + ServerInstance->GlobalCulls->Apply(); + ServerInstance->GlobalCulls->AddItem(this); } }; @@ -142,10 +142,10 @@ namespace { ModuleState state; std::string name = mod->ModuleSourceFile; ServerInstance->Modules->DoSafeUnload(mod, &state); - ServerInstance->GlobalCulls.Apply(); + ServerInstance->GlobalCulls->Apply(); bool rv = ServerInstance->Modules->Load(name.c_str(), false, &state); callback->Call(rv); - ServerInstance->GlobalCulls.AddItem(this); + ServerInstance->GlobalCulls->AddItem(this); } }; } @@ -154,14 +154,14 @@ bool ModuleManager::Unload(Module* mod) { if (!CanUnload(mod)) return false; - ServerInstance->AtomicActions.AddAction(new UnloadAction(mod)); + ServerInstance->AtomicActions->AddAction(new UnloadAction(mod)); return true; } void ModuleManager::Reload(Module* mod, HandlerBase1* callback) { if (CanUnload(mod)) - ServerInstance->AtomicActions.AddAction(new ReloadAction(mod, callback)); + ServerInstance->AtomicActions->AddAction(new ReloadAction(mod, callback)); else callback->Call(false); } -- cgit v1.3.1-10-gc9f91