summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-26 21:15:47 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-26 21:15:47 +0000
commit9cd8fe39d58be851d09564ab7f9c5e64fa4e58e5 (patch)
tree2865f46e98d0b3cccf50950f70945313ab8a9d41 /include
parent035c7089ccc9973ad52aa284b972e6c65cc1bab7 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/configreader.h2
1 files changed, 1 insertions, 1 deletions
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;