X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=include%2Fusers.h;h=109644c87ad8ee3b5dd7f2f8b4b1790c97d4463b;hb=df5f76832ee67d1cbfb1fc47a8d3ec3823f010c5;hp=3536fc35040b9b991e3032ead6fcd46b6dc602ae;hpb=58ab072505fcc58e35799065c42fb7112c4aed3f;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/users.h b/include/users.h index 3536fc350..109644c87 100644 --- a/include/users.h +++ b/include/users.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __USERS_H__ -#define __USERS_H__ +#ifndef USERS_H +#define USERS_H #include "socket.h" #include "inspsocket.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;