aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Robin Burchell2012-04-09 06:38:53 -0700
committerGravatar Robin Burchell2012-04-09 06:38:53 -0700
commitc5e73ec35ea4a3376e67fb90714850db837d8ba2 (patch)
tree770d2b01fe1dd1821a29b5c749ae9c9e5289c703 /include
parentMerge pull request #25 from DjSlash/colour-to-color (diff)
parentAdd <connect:maxconnwarn> (diff)
Merge pull request #27 from DjSlash/maxconnwarn v2.0.6rc1
Add <connect:maxconnwarn>
Diffstat (limited to 'include')
-rw-r--r--include/users.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index 3536fc350..73ef3624e 100644
--- a/include/users.h
+++ b/include/users.h
@@ -121,6 +121,10 @@ struct CoreExport ConnectClass : public refcountbase
*/
unsigned long maxglobal;
+ /** True if max connections for this class is hit and a warning is wanted
+ */
+ bool maxconnwarn;
+
/** Max channels for this class
*/
unsigned int maxchans;