summaryrefslogtreecommitdiff
path: root/include/cull_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cull_list.h')
-rw-r--r--include/cull_list.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cull_list.h b/include/cull_list.h
index 2422f05b6..36a8886a0 100644
--- a/include/cull_list.h
+++ b/include/cull_list.h
@@ -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