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/m_serverbots.cpp | |
| parent | Remove protocol.h from inspircd.h (diff) | |
Remove cull_list.h from inspircd.h
Diffstat (limited to 'src/modules/m_serverbots.cpp')
| -rw-r--r-- | src/modules/m_serverbots.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/m_serverbots.cpp b/src/modules/m_serverbots.cpp index 0909f8a60..7e8565287 100644 --- a/src/modules/m_serverbots.cpp +++ b/src/modules/m_serverbots.cpp @@ -12,6 +12,7 @@ */ #include "inspircd.h" +#include "cull_list.h" /* $ModDesc: Provides fake clients that respond to messages. */ @@ -215,7 +216,7 @@ class BotTracker : public SimpleExtItem<BotData> if (!ext) return; bots.erase(ext->bot->nick); - ServerInstance->GlobalCulls.AddItem(ext->bot); + ServerInstance->GlobalCulls->AddItem(ext->bot); delete ext; } }; @@ -315,7 +316,7 @@ class ModuleServerBots : public Module } for(std::map<std::string, BotData*>::iterator i = oldbots.begin(); i != oldbots.end(); i++) { - ServerInstance->GlobalCulls.AddItem(i->second->bot); + ServerInstance->GlobalCulls->AddItem(i->second->bot); } tags = ServerInstance->Config->GetTags("botcmd"); |
