changeset 2291:5e35b4c63c2c

[gaim-migrate @ 2301] such stupid mistakes committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 17 Sep 2001 05:29:19 +0000
parents 23c06449ae8e
children 6625d0755c51
files src/protocols/irc/irc.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/irc/irc.c	Mon Sep 17 05:04:28 2001 +0000
+++ b/src/protocols/irc/irc.c	Mon Sep 17 05:29:19 2001 +0000
@@ -598,7 +598,7 @@
 				who++;
 			if (!g_strcasecmp(who, nick)) {
 				char *tmp = g_strdup(r->data);
-				remove_chat_buddy(b, r->data);
+				remove_chat_buddy(b, tmp);
 				g_free(tmp);
 				break;
 			}
@@ -774,7 +774,7 @@
 				who++;
 			if (!g_strcasecmp(who, nick)) {
 				char *tmp = g_strdup(r->data);
-				remove_chat_buddy(c, r->data);
+				remove_chat_buddy(c, tmp);
 				g_free(tmp);
 				break;
 			}