]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configreader.h
Debug to try figure this out ..
[user/henk/code/inspircd.git] / include / configreader.h
index 648b02eb1b26889edc912bda29761ff7e3dc349e..4a9720862d7cd38321e5620ec90695416fc038c8 100644 (file)
@@ -239,7 +239,10 @@ class CoreExport ServerConfig : public Extensible
   
   public:
 
-       /* Pointer to function that validates dns server addresses (can be changed depending on platform) */
+       /** Used to indicate who we announce invites to on a channel */
+       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;
 
        InspIRCd* GetInstance();
@@ -459,7 +462,7 @@ class CoreExport ServerConfig : public Extensible
 
        /** Announce invites to the channel with a server notice
         */
-       bool AnnounceInvites;
+       InviteAnnounceState AnnounceInvites;
 
        /** If this is enabled then operators will
         * see invisible (+i) channels in /whois.