1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-10-26 11:37:39 +00:00

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"!
This commit is contained in:
Alexander Barton
2009-01-01 22:26:13 +01:00
parent 2c1b6280fa
commit c5000694d1
7 changed files with 149 additions and 10 deletions

View File

@@ -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