1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-03 10:43:12 +02:00

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

This commit is contained in:
William Pitcock
2013-05-07 05:34:58 +00:00
parent 6fa31c5624
commit 6d6edb3d43
-4
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)