X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcull_list.h;h=8e2d5f2abbf2ed6c2717239861b419c8db6a6629;hb=d383ce9b72bf5c58bb0571998b282cf67cf7635c;hp=5a74aa72470c9f2396f9e0247361a69175866442;hpb=cd712c40e1b352c05e7ae0f72e0a5e84cdf64323;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/cull_list.h b/include/cull_list.h index 5a74aa724..8e2d5f2ab 100644 --- a/include/cull_list.h +++ b/include/cull_list.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __CULLLIST_H__ -#define __CULLLIST_H__ +#ifndef CULL_LIST_H +#define CULL_LIST_H /** * The CullList class is used to delete objects at the end of the main loop to @@ -22,11 +22,13 @@ class CoreExport CullList { std::vector list; + std::vector SQlist; public: /** Adds an item to the cull list */ void AddItem(classbase* item) { list.push_back(item); } + void AddSQItem(LocalUser* item) { SQlist.push_back(item); } /** Applies the cull list (deletes the contents) */