changeset 32173:dc69d22279e5

conversation: Okay, one final fix.
author Paul Aurich <paul@darkrain42.org>
date Tue, 21 Jun 2011 05:45:24 +0000
parents 4610019d006d
children 94e1e3ed0bb0
files libpurple/conversation.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/conversation.c	Tue Jun 21 04:40:14 2011 +0000
+++ b/libpurple/conversation.c	Tue Jun 21 05:45:24 2011 +0000
@@ -1899,7 +1899,7 @@
 
 		if (cb) {
 			chat->in_room = g_list_remove(chat->in_room, cb);
-			g_hash_table_remove(chat->users, cb);
+			g_hash_table_remove(chat->users, cb->name);
 			purple_conv_chat_cb_destroy(cb);
 		}