summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/users.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index b747669c9..3e4afe88f 100644
--- a/include/users.h
+++ b/include/users.h
@@ -67,6 +67,10 @@ class ConnectClass : public classbase
/** Threshold value for flood disconnect
*/
long threshold;
+
+ /** Maximum size of sendq for users in this class
+ */
+ long sendqmax;
ConnectClass()
{
@@ -74,6 +78,7 @@ class ConnectClass : public classbase
flood = 0;
pingtime = 0;
threshold = 0;
+ sendqmax = 0;
strlcpy(host,"",MAXBUF);
strlcpy(pass,"",MAXBUF);
}
@@ -199,6 +204,10 @@ class userrec : public connection
*/
std::string WriteError;
+ /** Maximum size this user's sendq can become
+ */
+ long sendqmax;
+
userrec();
virtual ~userrec() { }