diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-21 12:44:37 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-21 12:44:37 +0000 |
commit | 3c9686f9f790e1a53e60f7da966b2415617a388f (patch) | |
tree | 08b16820d75b0a0680c1acf9fdefa8198acde071 /src | |
parent | efec4e0e08085a96b7c2875558f90033e7b14d44 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/users.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index 78af0ba8d..f2eb5ba8f 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -177,7 +177,7 @@ User::User(InspIRCd* Instance, const std::string &uid) : ServerInstance(Instance age = ServerInstance->Time(true); lines_in = lastping = signon = idle_lastmsg = nping = registered = 0; ChannelCount = timeout = flood = bytes_in = bytes_out = cmds_in = cmds_out = 0; - muted = exempt = haspassed = dns_done = false; + UnderPenalty = muted = exempt = haspassed = dns_done = false; fd = -1; recvq.clear(); sendq.clear(); |