diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-28 12:07:03 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-28 12:07:03 +0000 |
commit | b477cc1c3439faa8f50a46a0c5f3dd9082007bec (patch) | |
tree | 0c2aa15c9ee0d707e5591563cb742214c17c2d3f /include/cull_list.h | |
parent | dc6720574e9a07327c3924e459029426effb450e (diff) |
Made it safe to quits and nickchanges
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3379 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/cull_list.h')
-rw-r--r-- | include/cull_list.h | 5 |
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 |