X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcull_list.h;h=e20e4556a24a0032571168b6fd6552398a7be6ff;hb=33530c338c1daaed0a48f8e3c9ccb21ec9ced49c;hp=72b5d3f55b11ca72802c55d18fe74960140efdd3;hpb=002ee20d3d3885c4c84ab8d098ece222e936e259;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/cull_list.h b/include/cull_list.h index 72b5d3f55..e20e4556a 100644 --- a/include/cull_list.h +++ b/include/cull_list.h @@ -19,21 +19,20 @@ // include the common header files -#include -#include #include #include -#include #include #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 +75,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 +103,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