Author: shankari <email@example.com>
Date: Thu, 3 Jan 2019 04:44:28 -0800
Fix documentation of MotdPhrase length (#254)
The max length is actually 126 (< 127), since the check errors out if
length >= 127. See
I didn't look through the history to see when the change happened. I
just happened to find during a migration that my 140 character MOTD
Update sample configuration file as well as the man page.
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/sample-ngircd.conf.tmpl b/doc/sample-ngircd.conf.tmpl
@@ -51,7 +51,7 @@
# be shown to all users connecting to the server:
;MotdFile = :ETCDIR:/ngircd.motd
- # A simple Phrase (<256 chars) if you don't want to use a motd file.
+ # A simple Phrase (<127 chars) if you don't want to use a motd file.
;MotdPhrase = "Hello world!"
# The name of the IRC network to which this server belongs. This name
diff --git a/man/ngircd.conf.5.tmpl b/man/ngircd.conf.5.tmpl
@@ -125,7 +125,7 @@ take effect when ngircd starts up or is instructed to re-read its
-A simple Phrase (<256 chars) if you don't want to use a MOTD file.
+A simple Phrase (<127 chars) if you don't want to use a MOTD file.
The name of the IRC network to which this server belongs. This name is