#include "modules.h"
#include "dynamic.h"
#include "wildcard.h"
-#include "message.h"
#include "commands.h"
#include "xline.h"
#include "inspstring.h"
#include "cull_list.h"
extern InspIRCd* ServerInstance;
-extern user_hash clientlist;
/*
* In current implementation of CullList, this isn't used. It did odd things with a lot of sockets.
if (es != exempt.end())
esignon = es->second;
- for (user_hash::iterator u = clientlist.begin(); u != clientlist.end(); u++)
+ for (user_hash::iterator u = ServerInstance->clientlist.begin(); u != ServerInstance->clientlist.end(); u++)
{
/*
* BUGFIX
{
std::vector<CullItem>::iterator a = list.begin();
- userrec::QuitUser(a->GetUser(), a->GetReason().c_str());
+ userrec::QuitUser(ServerInstance, a->GetUser(), a->GetReason().c_str());
list.erase(list.begin());
}
return n;