about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2020-03-29 23:17:21 +0200
committerAlexander Barton <alex@barton.de>2020-03-29 23:17:21 +0200
commit9c5e42458ea8dc2aa8db5f122aaa4296d31df67b (patch)
treeac41d86cd08738b346c306f1d5f8c78ab646dbb5 /doc
parent61ac8be2fd36ffbf55d73215aa3a32ab01e94284 (diff)
downloadngircd-9c5e42458ea8dc2aa8db5f122aaa4296d31df67b.tar.gz
ngircd-9c5e42458ea8dc2aa8db5f122aaa4296d31df67b.zip
Update documentation to reflect "[Channel]->Modes" changes
No longer mention "[Channel]->Key" and "[Channel]->MaxUsers".
Diffstat (limited to 'doc')
-rw-r--r--doc/sample-ngircd.conf.tmpl13
1 files changed, 5 insertions, 8 deletions
diff --git a/doc/sample-ngircd.conf.tmpl b/doc/sample-ngircd.conf.tmpl
index cccc7e92..58925579 100644
--- a/doc/sample-ngircd.conf.tmpl
+++ b/doc/sample-ngircd.conf.tmpl
@@ -385,19 +385,16 @@
 	# Topic for this channel
 	;Topic = a great topic
 
-	# Initial channel modes
-	;Modes = tnk
-
-	# initial channel password (mode k)
-	;Key = Secret
+	# Initial channel modes, as used in "MODE" commands. Modifying lists
+	# (ban list, invite list, exception list) is supported.
+	# This option can be specified multiple times, evaluated top to bottom.
+	;Modes = +tnk mykey +l 5
+	;Modes = +b nick!~user@bad.host.example.com
 
 	# Key file, syntax for each line: "<user>:<nick>:<key>".
 	# Default: none.
 	;KeyFile = :ETCDIR:/#chan.key
 
-	# maximum users per channel (mode l)
-	;MaxUsers = 23
-
 [Channel]
 	# More [Channel] sections, if you like ...