// include the common header files
-#include <typeinfo>
-#include <iostream>
#include <string>
#include <deque>
-#include <sstream>
#include <vector>
#include "users.h"
#include "channels.h"
+class InspIRCd;
+
/** The CullItem class holds a user and their quitmessage,
* and is used internally by the CullList class to compile
* a list of users which are to be culled when a long
class CullList : public classbase
{
private:
+ /** Creator of this CullList
+ */
+ InspIRCd* ServerInstance;
/** Holds a list of users being quit.
* See the information for CullItem for
* more information.
/** Constructor.
* Clears the CullList::list and CullList::exempt
* items.
+ * @param Instance Creator of this CullList object
*/
- CullList();
+ CullList(InspIRCd* Instance);
/** Adds a user to the cull list for later
* removal via QUIT.
* @param user The user to add