diff options
| author | 2011-01-29 16:29:33 -0500 | |
|---|---|---|
| committer | 2011-01-29 16:29:33 -0500 | |
| commit | 5dbabb823456744e7442edc2bfde1272bb2edcb1 (patch) | |
| tree | 9ca74394c3d59592b7cd70f64b1b37faaab3f02c /src/modules.cpp | |
| parent | Remove protocol.h from inspircd.h (diff) | |
| download | inspircd++-5dbabb823456744e7442edc2bfde1272bb2edcb1.tar.gz inspircd++-5dbabb823456744e7442edc2bfde1272bb2edcb1.tar.bz2 inspircd++-5dbabb823456744e7442edc2bfde1272bb2edcb1.zip | |
Remove cull_list.h from inspircd.h
Diffstat (limited to 'src/modules.cpp')
| -rw-r--r-- | src/modules.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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(); } } |
