- Remove MOTD line length limit as allowed by IRCv3. ()

This commit is contained in:
William Pitcock 2013-05-07 05:34:58 +00:00
parent 6fa31c5624
commit 6d6edb3d43

View file

@ -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)