Commit Diff
Diff:
96bad2b861cffcd7724cf26464da4568852241de
fe01ef9a518d3596f60e0aa1602762c05132d31f
Commit:
fe01ef9a518d3596f60e0aa1602762c05132d31f
Tree:
83cb0c2e447d08d303fed9b389e0c9be5b1e3bad
Author:
shankari <shankari@eecs.berkeley.edu>
Committer:
shankari <shankari@eecs.berkeley.edu>
Date:
Thu Jan 3 13:06:01 2019 UTC
Message:
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 didn't work. Update sample configuration file as well as the man page.
blob - bd2d4080117b5efa49338c9e69554998cb1ed5b2
blob + 7905da482c722ce2e39d2a342d4a886ea849cc48
--- doc/sample-ngircd.conf.tmpl
+++ 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
blob - a83804c10524d5e9fae2fca9e4caac91e0f8bb66
blob + fdfc2fb61d48d66d96d24d3f13637ae01fec8f36
--- man/ngircd.conf.5.tmpl
+++ man/ngircd.conf.5.tmpl
@@ -125,7 +125,7 @@ take effect when ngircd starts up or is instructed to
configuration file.
.TP
\fBMotdPhrase\fR (string)
-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.
.TP
\fBNetwork\fR (string)
The name of the IRC network to which this server belongs. This name is
IRCNow