From 9cd8fe39d58be851d09564ab7f9c5e64fa4e58e5 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 26 Aug 2007 21:15:47 +0000 Subject: Added new announceinvite setting i discussed briefly with w00t and i like myself: # The value 'dynamic' varies between 'ops' and 'all' # # settings depending on if the channel is +i or not. # # When the channel is +i, messages go only to ops, # # and when the channel is not +i, messages go to # # everyone. In short, the messages will go to every # # user who has power of INVITE on the channel. This # # is the recommended setting. # git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7841 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/configreader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/configreader.h') diff --git a/include/configreader.h b/include/configreader.h index 703c28414..4a9720862 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -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; -- cgit v1.2.3