summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobin Burchell <viroteck@viroteck.net>2012-04-09 06:38:53 -0700
committerRobin Burchell <viroteck@viroteck.net>2012-04-09 06:38:53 -0700
commitc5e73ec35ea4a3376e67fb90714850db837d8ba2 (patch)
tree770d2b01fe1dd1821a29b5c749ae9c9e5289c703 /include
parent88b1a5a17da363891f76df614218b35d63f23f6d (diff)
parent10e0af3831cf29399541d4e2f6f2d6adfb7672bb (diff)
Merge pull request #27 from DjSlash/maxconnwarn
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;