]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configreader.h
Wahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include lists
[user/henk/code/inspircd.git] / include / configreader.h
index a63e31d71eedb4b0d969a9b64c0ead2fd44b0c5d..5c8a663070887c1ac3f0b204880d2e15fb625a14 100644 (file)
@@ -25,6 +25,8 @@
 #include "inspircd.h"
 #include "globals.h"
 #include "modules.h"
+#include "socketengine.h"
+#include "socket.h"
 
 class ServerConfig;
 class InspIRCd;
@@ -310,7 +312,7 @@ class ServerConfig : public Extensible
 
        /** A list of the file descriptors for the listening client ports
         */
-       int openSockfd[MAX_DESCRIPTORS];
+       ListenSocket* openSockfd[255];
 
        /** Boolean sets of which modules implement which functions
         */
@@ -359,10 +361,14 @@ class ServerConfig : public Extensible
         */
        bool SyntaxHints;
 
+       /** If set to true, users appear to quit then rejoin when their hosts change.
+        * This keeps clients synchronized properly.
+        */
+       bool CycleHosts;
+
        ServerConfig(InspIRCd* Instance);
 
-       /** Clears the include stack in preperation for
-        * a Read() call.
+       /** Clears the include stack in preperation for a Read() call.
         */
        void ClearStack();