summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2009-01-01 22:26:13 +0100
committerAlexander Barton <alex@barton.de>2009-01-20 17:20:30 +0100
commitc5000694d16da0a205e7dde49681d589d552d144 (patch)
treebd929da9c39c8e996e566ab8b4f4f88c6540ac47 /doc
parent2c1b6280fac393c8977df03d94cc6a1dcf2a5f5d (diff)
downloadngircd-c5000694d16da0a205e7dde49681d589d552d144.tar.gz
ngircd-c5000694d16da0a205e7dde49681d589d552d144.zip
Support individual channel keys for pre-defined channels.
This patch introduces the new configuration variable "KeyFile" for
[Channel] sections in ngircd.conf. Here a file can be configured for each
pre-defined channel which contains individual channel keys for different
users. This file is line-based and must have the following syntax:

  <user>:<nick>:<key>

<user> and <nick> can contain the wildcard character "*".

Please not that these channel keys are only in effect, when the channel
has a regular key set using channel mode "k"!
Diffstat (limited to 'doc')
-rw-r--r--doc/sample-ngircd.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/sample-ngircd.conf b/doc/sample-ngircd.conf
index 526e8801..0d0061bc 100644
--- a/doc/sample-ngircd.conf
+++ b/doc/sample-ngircd.conf
@@ -245,6 +245,10 @@
 	# initial channel password (mode k)
 	;Key = Secret
 
+	# Key file, syntax for each line: "<user>:<nick>:<key>".
+	# Default: none.
+	;KeyFile = /etc/ngircd/#chan.key
+
 	# maximum users per channel (mode l)
 	;MaxUsers = 23