X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fconfigreader.h;h=c6775bc298e3983e094f2abb96f8310b754aadc7;hb=a1f073f66f4b985bf776b9be2015136209c0c311;hp=723ce881b0a38c3ce5472ce933a2a390c06c074b;hpb=28b812bb3337f87f6b466608f1f9663113ddb41b;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/configreader.h b/include/configreader.h index 723ce881b..c6775bc29 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -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 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