summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2024-01-20 23:07:25 +0100
committerAlexander Barton <alex@barton.de>2024-01-21 01:20:46 +0100
commitbb8b6f0fba3b340e24389a2baf76bffff9d7e628 (patch)
tree171ee54986bd5f108a40aa55cc549202f52af832
parent3c39094b52332dc2b79ee9ae640324e312b81777 (diff)
downloadngircd-bb8b6f0fba3b340e24389a2baf76bffff9d7e628.tar.gz
ngircd-bb8b6f0fba3b340e24389a2baf76bffff9d7e628.zip
Make the description of the "Info" option more precise
The "Info" option in the "[Global]" section is optional (so comment it
out in the sample configuration file) and set to the server software
name and its version when not set (so add this information to the sample
configuration file and the ngircd.conf(5) manual page).
-rw-r--r--doc/sample-ngircd.conf.tmpl5
-rw-r--r--man/ngircd.conf.5.tmpl2
2 files changed, 4 insertions, 3 deletions
diff --git a/doc/sample-ngircd.conf.tmpl b/doc/sample-ngircd.conf.tmpl
index a5b61af7..79360869 100644
--- a/doc/sample-ngircd.conf.tmpl
+++ b/doc/sample-ngircd.conf.tmpl
@@ -39,8 +39,9 @@
 	;HelpFile = :DOCDIR:/Commands.txt
 
 	# Info text of the server. This will be shown by WHOIS and
-	# LINKS requests for example.
-	Info = Server Info Text
+	# LINKS requests for example. Set to the server software name and
+	# version by default.
+	;Info = Server Info Text
 
 	# Comma separated list of IP addresses on which the server should
 	# listen. Default values are:
diff --git a/man/ngircd.conf.5.tmpl b/man/ngircd.conf.5.tmpl
index 84a6baec..01e5408e 100644
--- a/man/ngircd.conf.5.tmpl
+++ b/man/ngircd.conf.5.tmpl
@@ -111,7 +111,7 @@ or is instructed to re-read its configuration file.
 .TP
 \fBInfo\fR (string)
 Info text of the server. This will be shown by WHOIS and LINKS requests for
-example.
+example. Set to the server software name and version by default.
 .TP
 \fBListen\fR (list of strings)
 A comma separated list of IP address on which the server should listen.