mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-29 14:32:25 +01:00
- Remove MOTD line length limit as allowed by IRCv3. (#3724)
This commit is contained in:
parent
6fa31c5624
commit
6d6edb3d43
1 changed files with 0 additions and 4 deletions
|
@ -961,8 +961,6 @@ int short_motd(aClient *sptr)
|
|||
* Merged read_motd/read_rules stuff into this -- Syzop
|
||||
*/
|
||||
|
||||
#define MOTD_LINE_LEN 81
|
||||
|
||||
|
||||
/** Read motd-like file, used for rules/motd/botmotd/opermotd/etc.
|
||||
* Multiplexes to either directly reading the MOTD or downloading it asynchronously.
|
||||
|
@ -1121,8 +1119,6 @@ void do_read_motd(const char *filename, aMotdFile *themotd)
|
|||
*tmp = '\0';
|
||||
if ((tmp = strchr(line, '\r')))
|
||||
*tmp = '\0';
|
||||
if (strlen(line) > MOTD_LINE_LEN)
|
||||
line[MOTD_LINE_LEN] = '\0';
|
||||
|
||||
temp = MyMalloc(sizeof(aMotdLine));
|
||||
if (!temp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue