about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authoranzz1 <anzz1@live.com>2025-12-19 18:23:16 +0200
committerGitHub <noreply@github.com>2025-12-19 17:23:16 +0100
commitf11b01ccc2c9aa8b20c607da10d7e60dab36efaf (patch)
treee1f1d3bbfa6059d6d40ad4c050bc09257752a807 /doc
parentb932baab5240d80512406e660efece151add0d9d (diff)
downloadngircd-f11b01ccc2c9aa8b20c607da10d7e60dab36efaf.tar.gz
ngircd-f11b01ccc2c9aa8b20c607da10d7e60dab36efaf.zip
Implement new configuration option "DefaultChannelModes"
The new configuration option "DefaultChannelModes" lists channel modes that
become automatically set on new channels on creation.

Default: set no modes.

Closes #333.
Diffstat (limited to 'doc')
-rw-r--r--doc/sample-ngircd.conf.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/sample-ngircd.conf.tmpl b/doc/sample-ngircd.conf.tmpl
index f02c535d..c9011468 100644
--- a/doc/sample-ngircd.conf.tmpl
+++ b/doc/sample-ngircd.conf.tmpl
@@ -182,6 +182,9 @@
 	;ConnectIPv6 = yes
 	;ConnectIPv4 = yes
 
+	# Default channel mode(s) to set on new channels. Default: none.
+	;DefaultChannelModes = n
+
 	# Default user mode(s) to set on new local clients. Please note that
 	# only modes can be set that the client could set using regular MODE
 	# commands, you can't set "a" (away) for example! Default: none.