summaryrefslogtreecommitdiff
path: root/src/conf.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2016-06-05 14:16:36 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2016-06-05 17:47:56 +0100
commit634111fc07826dcf7f1f408c5186dc9f842d2a5c (patch)
treef5afb868285fb4438f4f00574f63f1ef5c0392f0 /src/conf.c
parent0a892daa10889c2c29855276c0ac34082dea6dfa (diff)
Add support for configurable initial channel modes
Diffstat (limited to 'src/conf.c')
-rw-r--r--src/conf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf.c b/src/conf.c
index e581f55..f52281e 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -1119,6 +1119,7 @@ set_default_conf(void)
ConfigChannel.default_split_server_count = 0;
ConfigChannel.no_join_on_split = 0;
ConfigChannel.no_create_on_split = 0;
+ ConfigChannel.default_modes = MODE_NOPRIVMSGS | MODE_TOPICLIMIT;
ConfigServerHide.flatten_links = 0;
ConfigServerHide.links_delay = 300;