diff libpurple/protocols/irc/irc.c @ 32393:5dafa68c8eb0

Some struct hiding. What a pain.
author Mark Doliner <mark@kingant.net>
date Tue, 23 Aug 2011 05:43:51 +0000
parents a5b556ac1de5
children ac6353ffa129 cf796628b2c0
line wrap: on
line diff
--- a/libpurple/protocols/irc/irc.c	Tue Aug 23 04:37:58 2011 +0000
+++ b/libpurple/protocols/irc/irc.c	Tue Aug 23 05:43:51 2011 +0000
@@ -890,7 +890,8 @@
 
 static void irc_roomlist_cancel(PurpleRoomlist *list)
 {
-	PurpleConnection *gc = purple_account_get_connection(list->account);
+	PurpleAccount *account = purple_roomlist_get_account(list);
+	PurpleConnection *gc = purple_account_get_connection(account);
 	struct irc_conn *irc;
 
 	if (gc == NULL)