From 1dca082fc6f0595d6bde431bf50132445340fb7f Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Sat, 8 Jan 2011 15:56:14 +0100 Subject: config: deprecate NoXX-Options ngircd unfortunately uses several options using double-negation, e.g. NoIdent = No, NoPam = No, etc. This renames all options by dropping the "No" prefix, e.g. "NoIdent = no" becomes "Ident = yes". The old options will continue to work, but will cause a warning message. Also update man pages and default config. To prevent silly 'Ident = yes' from appearing in --configtest output in the 'ident support not compiled in and Ident Option not used' case, make default value depend on feature availability. If feature is available, enable by default, otherwise disable. We might consider moving these options to a new [Feature] section, or something like that, because none of these options are essential. Another possible improvement: 'Ident = yes' option in ngircd.conf causes a warning if ngircd was built without ident support. This does not happen with e.g. zeroconf.... --- man/ngircd.conf.5.tmpl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'man') diff --git a/man/ngircd.conf.5.tmpl b/man/ngircd.conf.5.tmpl index 8fa7623a..1a6301fb 100644 --- a/man/ngircd.conf.5.tmpl +++ b/man/ngircd.conf.5.tmpl @@ -205,28 +205,28 @@ you do not want to have channels other than those defined in [Channel] sections in the configuration file. Default: no. .TP -\fBNoDNS\fR -If set to true, ngIRCd will not make DNS lookups when clients connect. +\fBDNS\fR +If set to false, ngIRCd will not make DNS lookups when clients connect. If you configure the daemon to connect to other servers, ngIRCd may still perform a DNS lookup if required. -Default: no. +Default: yes. .TP -\fBNoIdent\fR +\fBIdent\fR If ngIRCd is compiled with IDENT support this can be used to disable IDENT lookups at run time. -Default: no. +Default: yes. .TP -\fBNoPAM\fR +\fBPAM\fR If ngIRCd is compiled with PAM support this can be used to disable all calls to the PAM library at runtime; all users connecting without password are allowed to connect, all passwords given will fail. -Default: no. +Default: yes. .TP -\fBNoZeroConf\fR +\fBZeroConf\fR If ngIRCd is compiled to register its services using ZeroConf (e.g. using Howl, Avahi or on Mac OS X) this parameter can be used to disable service registration at runtime. -Default: no. +Default: yes. .TP \fBConnectIPv4\fR Set this to no if you do not want ngIRCd to connect to other IRC servers using -- cgit 1.4.1