diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-11 23:47:09 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-11 23:47:09 +0000 |
commit | 16934ea87517d1b45419cadf2376a7da11a69b27 (patch) | |
tree | c61c95892022aa80f2a08adb8e7e3b69f88e68bc /include | |
parent | 70246812d3304b7c0ce81e7708c0fd98438ccd49 (diff) |
added sendq stuff, see example config
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1362 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/users.h | 9 |
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() { } |