]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/cull_list.h
Optimisation of optimisation :P ty w00tie
[user/henk/code/inspircd.git] / include / cull_list.h
index 2422f05b64d63b94744dd2359acd1d5cbcb91473..36a8886a0f53958c0bb48304b44934d7f56e91e7 100644 (file)
@@ -85,6 +85,11 @@ class CullList
          * reference.
          */
         std::map<userrec*,int> exempt;
+        
+        /** Check if a user pointer is valid
+         * (e.g. it exists in the user hash)
+         */
+        bool IsValid(userrec* user);
  public:
         /** Constructor.
          * Clears the CullList::list and CullList::exempt