diff options
author | Rutger <djslash+github@djslash.org> | 2012-04-01 21:11:25 +0200 |
---|---|---|
committer | Rutger <djslash+github@djslash.org> | 2012-04-01 21:11:25 +0200 |
commit | 10e0af3831cf29399541d4e2f6f2d6adfb7672bb (patch) | |
tree | 53437dad2cfc24964d4b25db74f1b280c4b1c2a3 /include/users.h | |
parent | e73e4be15485f545ff485d3d372b513dd28bf759 (diff) |
Add <connect:maxconnwarn>
Created the maxconnwarn variable in the connect block, so you can make
connect blocks that only warns about max connections if you want to.
This reduces noise from connecting clients that have low maxlocal and/or
maxglobal. It is enabled by default.
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 4 |
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; |