From 0337b1ac1e128661b81901bdf2384e4ee51fa0df Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sat, 16 Aug 2008 02:56:21 +0200 Subject: [PATCH] sample-ngircd.conf & ngircd.conf(5): document "ServiceMask" option. --- doc/sample-ngircd.conf | 20 +++++++++++++++----- man/ngircd.conf.5.tmpl | 10 ++++++++++ 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/doc/sample-ngircd.conf b/doc/sample-ngircd.conf index ba2d477b..665edae7 100644 --- a/doc/sample-ngircd.conf +++ b/doc/sample-ngircd.conf @@ -180,8 +180,8 @@ # this server should establish the connection). ;Host = connect-to-host.the.net - # IP address to use as _source_ address for the connection. if unspecified, - # ngircd will let the operating system pick an address. + # IP address to use as _source_ address for the connection. if + # unspecified, ngircd will let the operating system pick an address. ;Bind = 10.0.0.1 # Port of the server to which the ngIRCd should connect. If you @@ -201,14 +201,24 @@ # Set the "Passive" option to "yes" if you don't want this ngIRCd to # connect to the configured peer (same as leaving the "Port" variable - # empty). The advantage of this option is that you can actually configure - # a port an use the IRC command CONNECT more easily to manually connect - # this specific server later. + # empty). The advantage of this option is that you can actually + # configure a port an use the IRC command CONNECT more easily to + # manually connect this specific server later. ;Passive = no # Connect to the remote server using TLS/SSL (Default: false) ; SSLConnect = yes + # Define a (case insensitive) mask matching nick names that sould be + # treated as IRC services when introduced via this remote server. + # REGULAR SERVERS DON'T NEED this parameter, so leave it empty + # (which is the default). + # When you are connecting IRC services which mask as a IRC server + # and which use "virtual users" to communicate with, for example + # "NickServ" amd "ChanServ", you should set this parameter to + # something like "*Serv". + ;ServiceMask = *Serv + [Server] # More [Server] sections, if you like ... diff --git a/man/ngircd.conf.5.tmpl b/man/ngircd.conf.5.tmpl index 61e2f5fe..cdf4a425 100644 --- a/man/ngircd.conf.5.tmpl +++ b/man/ngircd.conf.5.tmpl @@ -273,6 +273,16 @@ Group of this server (optional). \fBPassive\fR Disable automatic connection even if port value is specified. Default: false. You can use the IRC Operator command CONNECT later on to create the link. +.TP +\fBServiceMask\fR +Define a (case insensitive) mask matching nick names that sould be treated as +IRC services when introduced via this remote server. REGULAR SERVERS DON'T NEED +this parameter, so leave it empty (which is the default). +.PP +.RS +When you are connecting IRC services which mask as a IRC server and which use +"virtual users" to communicate with, for example "NickServ" amd "ChanServ", +you should set this parameter to something like "*Serv". .SH [CHANNEL] Pre-defined channels can be configured in .I [Channel] -- 2.39.2