]> arthur.barton.de Git - ngircd-alex.git/commit
Allow more characters per line in MOTD and help text files
authorAlexander Barton <alex@barton.de>
Thu, 7 May 2020 16:10:41 +0000 (18:10 +0200)
committerAlexander Barton <alex@barton.de>
Thu, 7 May 2020 16:10:41 +0000 (18:10 +0200)
commitfcf2874a9d64675c64afbce58cd4cdc73de54978
treea38d8e138c93cfcb68d706fba9693bd8685cc1b0
parent4b7e8db418340576c95f1edad8470b66d6fe886d
Allow more characters per line in MOTD and help text files

Change the line buffer in the Read_TextFile() function from 127 to
COMMAND_LEN (=512) bytes. Lines can't even get that long, because they
have to be prefixed before being sent to the client, so this is a sane
maximum.

This allows for even more "fancy" and "wider" MOTDs :-)

Closes #271.
src/ngircd/conf.c