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/modules.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index 825074707..0f32ca113 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -12,6 +12,7 @@ */ #include "inspircd.h" +#include "cull_list.h" #include "protocol.h" #include "xline.h" #include "exitcodes.h" @@ -406,7 +407,7 @@ void ModuleManager::DoSafeUnload(Module* mod, ModuleState* state) ServerInstance->Extensions.BeginUnregister(modfind->second, EXTENSIBLE_NONE, chan_exts); Modules.erase(modfind); - ServerInstance->GlobalCulls.AddItem(mod); + ServerInstance->GlobalCulls->AddItem(mod); ServerInstance->Logs->Log("MODULE", DEFAULT,"Module %s unloaded",mod->ModuleSourceFile.c_str()); this->ModCount--; @@ -510,7 +511,7 @@ void ModuleManager::UnloadAll() DoSafeUnload(me->second, NULL); } } - ServerInstance->GlobalCulls.Apply(); + ServerInstance->GlobalCulls->Apply(); } } -- cgit v1.3.1-10-gc9f91