From 3c9686f9f790e1a53e60f7da966b2415617a388f Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 21 Oct 2007 12:44:37 +0000 Subject: Add User::UnderPenalty /** If this bool is set for a user, then the user is under penalty, in short they * are waiting for some held commands to be executed. If this is the case, then * any commands they have in their sendq are executed on a timer tick rather than in * their event handler. */ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8244 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') diff --git a/include/users.h b/include/users.h index 21214062c..f516a8038 100644 --- a/include/users.h +++ b/include/users.h @@ -681,6 +681,13 @@ class CoreExport User : public connection */ bool exempt; + /** If this bool is set for a user, then the user is under penalty, in short they + * are waiting for some held commands to be executed. If this is the case, then + * any commands they have in their sendq are executed on a timer tick rather than in + * their event handler. + */ + bool UnderPenalty; + /** Default constructor * @throw CoreException if the UID allocated to the user already exists * @param Instance Creator instance -- cgit v1.2.3