From 16934ea87517d1b45419cadf2376a7da11a69b27 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 11 May 2005 23:47:09 +0000 Subject: added sendq stuff, see example config git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1362 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include') 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() { } -- cgit v1.2.3