diff options
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); } |
