From 6d6edb3d43b9d2be2ce4e76bf941e9438ba658ed Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 7 May 2013 05:34:58 +0000 Subject: [PATCH] - Remove MOTD line length limit as allowed by IRCv3. (#3724) --- src/s_serv.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/s_serv.c b/src/s_serv.c index 091bedff8..db34a88ff 100644 --- a/src/s_serv.c +++ b/src/s_serv.c @@ -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)