diff options
| author | shankari <shankari@eecs.berkeley.edu> | 2019-01-03 04:44:28 -0800 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2019-01-03 14:06:01 +0100 |
| commit | fe01ef9a518d3596f60e0aa1602762c05132d31f (patch) | |
| tree | 83cb0c2e447d08d303fed9b389e0c9be5b1e3bad /doc/sample-ngircd.conf.tmpl | |
| parent | 96bad2b861cffcd7724cf26464da4568852241de (diff) | |
| download | ngircd-fe01ef9a518d3596f60e0aa1602762c05132d31f.tar.gz ngircd-fe01ef9a518d3596f60e0aa1602762c05132d31f.zip | |
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.
Diffstat (limited to 'doc/sample-ngircd.conf.tmpl')
| -rw-r--r-- | doc/sample-ngircd.conf.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/sample-ngircd.conf.tmpl b/doc/sample-ngircd.conf.tmpl index bd2d4080..7905da48 100644 --- 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 |