]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configreader.h
Change std::pair<bool,std::string> to neater typedef "ModePair"
[user/henk/code/inspircd.git] / include / configreader.h
index 723ce881b0a38c3ce5472ce933a2a390c06c074b..c6775bc298e3983e094f2abb96f8310b754aadc7 100644 (file)
@@ -301,6 +301,10 @@ class ServerConfig : public Extensible
         */
        int ports[255];
 
+       /** A list of the file descriptors for the listening client ports
+        */
+       int openSockfd[MAX_DESCRIPTORS];
+
        /** Boolean sets of which modules implement which functions
         */
        char implement_lists[255][255];
@@ -340,6 +344,10 @@ class ServerConfig : public Extensible
         */
        std::map<std::string,int> maxbans;
 
+       /** If set to true, no user DNS lookups are to be performed
+        */
+       bool NoUserDns;
+
        ServerConfig();
 
        /** Clears the include stack in preperation for
@@ -386,4 +394,6 @@ class ServerConfig : public Extensible
        bool DelIOHook(int port);
 };
 
+bool InitializeDisabledCommands(const char* data, InspIRCd* ServerInstance);
+
 #endif