diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-12 00:36:20 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-12 00:36:20 +0000 |
commit | b2c011a23adfb2472f51a4c18bf8f29e6e37bb04 (patch) | |
tree | a40a4658792c7b5143527c24bac2d62004254f4f /include/users.h | |
parent | 278cc70b2514ac48fe8e2810c1789c41ca933ca9 (diff) |
Customizable by-byte-size recvq stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1365 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/users.h b/include/users.h index 3e4afe88f..44005bb92 100644 --- a/include/users.h +++ b/include/users.h @@ -68,9 +68,13 @@ class ConnectClass : public classbase */ long threshold; - /** Maximum size of sendq for users in this class + /** Maximum size of sendq for users in this class (bytes) */ long sendqmax; + + /** Maximum size of recvq for users in this class (bytes) + */ + long recvqmax; ConnectClass() { @@ -79,6 +83,7 @@ class ConnectClass : public classbase pingtime = 0; threshold = 0; sendqmax = 0; + recvqmax = 0; strlcpy(host,"",MAXBUF); strlcpy(pass,"",MAXBUF); } @@ -208,6 +213,10 @@ class userrec : public connection */ long sendqmax; + /** Maximum size this user's recvq can become + */ + long recvqmax; + userrec(); virtual ~userrec() { } |