about summary refs log tree commit diff
path: root/man/ngircd.conf.5.tmpl
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2013-08-04 03:06:53 +0200
committerAlexander Barton <alex@barton.de>2013-08-04 14:10:12 +0200
commit5258fb7f7c3d92a35083f869bae4f05ab988d2da (patch)
tree6336e1a78758a053f9e773a29508391dba908d90 /man/ngircd.conf.5.tmpl
parent5e775a3faec6a6a3a9bae6a0921dc1a82e5df1da (diff)
downloadngircd-5258fb7f7c3d92a35083f869bae4f05ab988d2da.tar.gz
ngircd-5258fb7f7c3d92a35083f869bae4f05ab988d2da.zip
Implement new configuration option "AllowedChannelTypes"
The new configuration variable "AllowedChannelTypes" lists all allowed
channel types (channel prefixes) for newly created channels on the local
server. By default, all supported channel types are allowed.

If set to the empty string, local clients can't create new channels at
all, which equals the old "PredefChannelsOnly = yes" setting.

This patch deprecates the "PredefChannelsOnly" variable, too, but it is
still supported and translated to the apropriate "AllowedChannelTypes"
setting. When "PredefChannelsOnly" is processed, a warning message is
logged.

Closes bug #152.
Diffstat (limited to 'man/ngircd.conf.5.tmpl')
-rw-r--r--man/ngircd.conf.5.tmpl12
1 files changed, 6 insertions, 6 deletions
diff --git a/man/ngircd.conf.5.tmpl b/man/ngircd.conf.5.tmpl
index 64acd927..c9d7bf83 100644
--- a/man/ngircd.conf.5.tmpl
+++ b/man/ngircd.conf.5.tmpl
@@ -209,6 +209,12 @@ Optional features and configuration options to further tweak the behavior of
 ngIRCd. If you want to get started quickly, you most probably don't have to
 make changes here -- they are all optional.
 .TP
+\fBAllowedChannelTypes\fR (string)
+List of allowed channel types (channel prefixes) for newly created channels
+on the local server. By default, all supported channel types are allowed.
+Set this variable to the empty string to disallow creation of new channels
+by local clients at all. Default: #&+
+.TP
 \fBAllowRemoteOper\fR (boolean)
 Are IRC operators connected to remote servers allowed to control this server,
 e.g. are they allowed to use administrative commands like CONNECT, DIE,
@@ -319,12 +325,6 @@ able to distinguish between Ident'ified and PAM-authenticated users: both
 don't have a "~" character prepended to their respective user names!
 Default: no.
 .TP
-\fBPredefChannelsOnly\fR (boolean)
-If enabled, no new channels can be created. Useful if you do not want to have
-other channels than those defined in [Channel] sections in the configuration
-file on this server.
-Default: no.
-.TP
 \fBRequireAuthPing\fR (boolean)
 Let ngIRCd send an "authentication PING" when a new client connects, and
 register this client only after receiving the corresponding "PONG" reply.