summaryrefslogtreecommitdiffstats
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorGravatar Jackmcbarn2011-01-29 16:29:33 -0500
committerGravatar Jackmcbarn2011-01-29 16:29:33 -0500
commit5dbabb823456744e7442edc2bfde1272bb2edcb1 (patch)
tree9ca74394c3d59592b7cd70f64b1b37faaab3f02c /src/modules.cpp
parentRemove protocol.h from inspircd.h (diff)
downloadinspircd++-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.cpp5
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();
}
}