userrec* user;
/** Holds the quit reason to use for this user.
*/
- std::string reason;
+ std::string reason;
public:
/** Constrcutor.
* Initializes the CullItem with a user pointer
*/
CullItem(userrec* u, std::string &r);
CullItem(userrec* u, const char* r);
+
+ ~CullItem();
+
/** Returns a pointer to the user
*/
userrec* GetUser();
/** Returns the user's quit reason
*/
- std::string GetReason();
+ std::string& GetReason();
};
/** The CullList class can be used by modules, and is used