]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/cull_list.h
And now, just to force you to recompile the *whole* ircd.. updated headers on the...
[user/henk/code/inspircd.git] / include / cull_list.h
index 72b5d3f55b11ca72802c55d18fe74960140efdd3..678329bc26b06daf7876e96c97245b9b2b082228 100644 (file)
@@ -2,12 +2,9 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
- *                       E-mail:
- *                <brain@chatspike.net>
- *                <Craig@chatspike.net>
+ *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ * See: http://www.inspircd.org/wiki/index.php/Credits
  *
- * Written by Craig Edwards, Craig McLure, and others.
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
  *
 
 // 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
  * operation (such as a netsplit) has completed.
  */
-class CullItem
+class CullItem : public classbase
 {
  private:
        /** Holds a pointer to the user,
@@ -76,9 +72,12 @@ class CullItem
  * you attempt to add the same user twice, then the second
  * attempt will be ignored.
  */
-class CullList
+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 +100,9 @@ class CullList
         /** 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