]> 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 67ffcaf967254614af8b6dbfdee223ca37b4b953..36a8886a0f53958c0bb48304b44934d7f56e91e7 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  Inspire is copyright (C) 2002-2005 ChatSpike-Dev.
+ *  InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
  *                       E-mail:
  *                <brain@chatspike.net>
  *                <Craig@chatspike.net>
@@ -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