--- a/irc-more/irc-more.c Thu May 25 22:05:45 2017 -0500
+++ b/irc-more/irc-more.c Thu May 25 22:53:53 2017 -0500
@@ -229,14 +229,14 @@
-irc_sending_text(PurpleConnection *gc, char **msg, gpointer null)
+irc_sending_text(PurpleConnection *gc, char **msg, gpointer data) PurpleAccount *account = purple_connection_get_account(gc);
char *message = strchr(*msg, ':');
- if (!message || !strcmp(message + 1, "Leaving.\r\n")) {
+ if (!message || purple_strequal(message + 1, "Leaving.\r\n")) { *msg = g_strdup_printf("QUIT :%s\r\n", QUIT_MESSAGE);
} else if (MATCHES("PART ")) {