diff options
| author | 2011-01-29 16:29:33 -0500 | |
|---|---|---|
| committer | 2011-01-29 16:29:33 -0500 | |
| commit | 5dbabb823456744e7442edc2bfde1272bb2edcb1 (patch) | |
| tree | 9ca74394c3d59592b7cd70f64b1b37faaab3f02c /src/modmanager_static.cpp | |
| parent | Remove protocol.h from inspircd.h (diff) | |
Remove cull_list.h from inspircd.h
Diffstat (limited to 'src/modmanager_static.cpp')
| -rw-r--r-- | src/modmanager_static.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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<void, bool>* callback) { if (CanUnload(mod)) - ServerInstance->AtomicActions.AddAction(new ReloadAction(mod, callback)); + ServerInstance->AtomicActions->AddAction(new ReloadAction(mod, callback)); else callback->Call(false); } |
