--- a/libpurple/protocols/irc/msgs.c Thu Mar 01 20:38:21 2018 -0600
+++ b/libpurple/protocols/irc/msgs.c Mon Mar 05 03:44:04 2018 -0300
@@ -757,8 +757,10 @@
if (purple_strequal(name, "375")) {
g_string_free(irc->motd, TRUE);
irc->motd = g_string_new("");
} else if (purple_strequal(name, "376")) {
@@ -770,8 +772,10 @@
/* in case there is no 251, and no MOTD set, finalize the connection.
* (and clear the motd for good measure). */
g_string_free(irc->motd, TRUE);
irc_connected(irc, args[0]);