From b477cc1c3439faa8f50a46a0c5f3dd9082007bec Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 28 Feb 2006 12:07:03 +0000 Subject: Made it safe to quits and nickchanges git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3379 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/cull_list.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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 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 -- cgit v1.2.3