]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/cull_list.h
Merge pull request #70 from Shawn-Smith/insp20+chancreatefix
[user/henk/code/inspircd.git] / include / cull_list.h
index 5a74aa72470c9f2396f9e0247361a69175866442..8e2d5f2abbf2ed6c2717239861b419c8db6a6629 100644 (file)
@@ -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
 class CoreExport CullList
 {
        std::vector<classbase*> list;
+       std::vector<LocalUser*> 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)
         */