]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configreader.h
Add a global fake client to class InspIRCd used instead of instantiating a fake clien...
[user/henk/code/inspircd.git] / include / configreader.h
index 703c284142136c5b5beb4b30b191c1bcbf8dfa6a..b1eb9b263f21d9fd1faa93e5630145ab954fc871 100644 (file)
@@ -240,7 +240,7 @@ class CoreExport ServerConfig : public Extensible
   public:
 
        /** Used to indicate who we announce invites to on a channel */
-       enum InviteAnnounceState { INVITE_ANNOUNCE_NONE, INVITE_ANNOUNCE_ALL, INVITE_ANNOUNCE_OPS };
+       enum InviteAnnounceState { INVITE_ANNOUNCE_NONE, INVITE_ANNOUNCE_ALL, INVITE_ANNOUNCE_OPS, INVITE_ANNOUNCE_DYNAMIC };
 
        /** Pointer to function that validates dns server addresses (can be changed depending on platform) */
        Validator DNSServerValidator;
@@ -603,6 +603,13 @@ class CoreExport ServerConfig : public Extensible
         */
        unsigned int OperMaxChans;
 
+       /** TS6-like server ID.
+        * NOTE: 000...999 are usable for InspIRCd servers. This
+        * makes code simpler. 0AA, 1BB etc with letters are reserved
+        * for services use.
+        */
+       int sid;
+
        /** Construct a new ServerConfig
         */
        ServerConfig(InspIRCd* Instance);