From 10e0af3831cf29399541d4e2f6f2d6adfb7672bb Mon Sep 17 00:00:00 2001 From: Rutger Date: Sun, 1 Apr 2012 21:11:25 +0200 Subject: Add 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. --- include/users.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/users.h') 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; -- cgit v1.2.3