]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/users.h
Fixes for bug #12
[user/henk/code/inspircd.git] / include / users.h
index 3536fc35040b9b991e3032ead6fcd46b6dc602ae..109644c87ad8ee3b5dd7f2f8b4b1790c97d4463b 100644 (file)
@@ -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;