--- a/libpurple/protocols/irc/irc.c Fri Feb 12 02:16:44 2021 -0600 +++ b/libpurple/protocols/irc/irc.c Fri Feb 12 18:37:00 2021 -0600 @@ -203,7 +203,7 @@ char *title, *body; if (gc == NULL || purple_connection_get_protocol_data(gc) == NULL) { - purple_debug(PURPLE_DEBUG_ERROR, "irc", "got MOTD request for NULL gc\n"); + purple_debug_error("irc", "got MOTD request for NULL gc"); return; } irc = purple_connection_get_protocol_data(gc); @@ -799,7 +799,7 @@ const char *args[2]; if (!convo) { - purple_debug(PURPLE_DEBUG_ERROR, "irc", "Got chat invite request for bogus chat\n"); + purple_debug_error("irc", "Got chat invite request for bogus chat"); return; } args[0] = name; @@ -835,7 +835,7 @@ char *tmp; if (!convo) { - purple_debug(PURPLE_DEBUG_ERROR, "irc", "chat send on nonexistent chat\n"); + purple_debug_error("irc", "chat send on nonexistent chat"); return -EINVAL; } purple_markup_html_to_xhtml(purple_message_get_contents(msg), NULL, &tmp);