summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-08 11:26:31 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-08 11:26:31 +0000
commitfeeeced47094ed52541d1bc74440f1b223e6dadc (patch)
treeff4c25a84b2faed5cf45cac5eea35002cd1e190a /include
parent53d548355b6657e01bd6a296dc87c4abec271fef (diff)
option to allow announce of invites to channel (similar to unreal)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6635 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/configreader.h4
-rw-r--r--include/modules.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 0de57c4e4..9e0016bee 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -395,6 +395,10 @@ class ServerConfig : public Extensible
*/
bool HideBans;
+ /** Announce invites to the channel with a server notice
+ */
+ bool AnnounceInvites;
+
/** If this is enabled then operators will
* see invisible (+i) channels in /whois.
*/
diff --git a/include/modules.h b/include/modules.h
index 59d777b71..e90c66fe9 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -75,7 +75,7 @@ enum MessageType {
* ipv4 servers, so this value will be ten times as
* high on ipv6 servers.
*/
-#define NATIVE_API_VERSION 11015
+#define NATIVE_API_VERSION 11016
#ifdef IPV6
#define API_VERSION (NATIVE_API_VERSION * 10)
#else