]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/cull_list.h
irc::string assign(std::string&)
[user/henk/code/inspircd.git] / include / cull_list.h
index adc9fe8d5c954f351a40201858e55ecfff2e1276..e20e4556a24a0032571168b6fd6552398a7be6ff 100644 (file)
 
 // 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
@@ -79,6 +78,9 @@ class CullItem : public classbase
 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.
@@ -101,8 +103,9 @@ class CullList : public classbase
         /** 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