X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcull_list.h;h=e20e4556a24a0032571168b6fd6552398a7be6ff;hb=33530c338c1daaed0a48f8e3c9ccb21ec9ced49c;hp=adc9fe8d5c954f351a40201858e55ecfff2e1276;hpb=ac39617c087139f2d89aeb9e36565139b4410672;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/cull_list.h b/include/cull_list.h index adc9fe8d5..e20e4556a 100644 --- a/include/cull_list.h +++ b/include/cull_list.h @@ -19,15 +19,14 @@ // 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 @@ -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