mirror of
https://github.com/osmarks/ngircd.git
synced 2025-10-21 09:27:39 +00:00
Fix documentation of MotdPhrase length (#254)
The max length is actually 126 (< 127), since the check errors out if length >= 127. See <https://github.com/ngircd/ngircd/blob/master/src/ngircd/conf.c#L1487>. 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.
This commit is contained in:

committed by
Alexander Barton

parent
96bad2b861
commit
fe01ef9a51
@@ -51,7 +51,7 @@
|
|||||||
# be shown to all users connecting to the server:
|
# be shown to all users connecting to the server:
|
||||||
;MotdFile = :ETCDIR:/ngircd.motd
|
;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!"
|
;MotdPhrase = "Hello world!"
|
||||||
|
|
||||||
# The name of the IRC network to which this server belongs. This name
|
# The name of the IRC network to which this server belongs. This name
|
||||||
|
@@ -125,7 +125,7 @@ take effect when ngircd starts up or is instructed to re-read its
|
|||||||
configuration file.
|
configuration file.
|
||||||
.TP
|
.TP
|
||||||
\fBMotdPhrase\fR (string)
|
\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
|
.TP
|
||||||
\fBNetwork\fR (string)
|
\fBNetwork\fR (string)
|
||||||
The name of the IRC network to which this server belongs. This name is
|
The name of the IRC network to which this server belongs. This name is
|
||||||
|
Reference in New Issue
Block a user