diff -r 8b5e4e9a7376 -r 72ff435414e1 src/protocols/irc/irc.c --- a/src/protocols/irc/irc.c Fri May 16 20:27:39 2003 +0000 +++ b/src/protocols/irc/irc.c Fri May 16 22:33:13 2003 +0000 @@ -1156,9 +1156,7 @@ if (*who == '+') who++; if (!gaim_utf8_strcasecmp(who, nick)) { - char *tmp = g_strdup(r->data); - gaim_chat_remove_user(chat, tmp, reason); - g_free(tmp); + gaim_chat_remove_user(chat, who, reason); break; } r = r->next; @@ -1792,9 +1790,7 @@ if (*who == '+') who++; if (!gaim_utf8_strcasecmp(who, nick)) { - char *tmp = g_strdup(r->data); - gaim_chat_remove_user(chat, tmp, reason); - g_free(tmp); + gaim_chat_remove_user(chat, who, reason); break; } r = r->next;