diff libpurple/protocols/myspace/zap.c @ 25130:16734635febf

Start hiding blist.h internals in prpls.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 27 Sep 2008 06:33:42 +0000
parents 797377cbd5bf
children 0331bc480515
line wrap: on
line diff
--- a/libpurple/protocols/myspace/zap.c	Thu Sep 25 07:19:38 2008 +0000
+++ b/libpurple/protocols/myspace/zap.c	Sat Sep 27 06:33:42 2008 +0000
@@ -177,13 +177,13 @@
 	buddy = (PurpleBuddy *)node;
 
 	/* Find the session */
-	account = buddy->account;
+	account = purple_buddy_get_account(buddy);
 	gc = purple_account_get_connection(account);
 	session = (MsimSession *)gc->proto_data;
 
 	zap = GPOINTER_TO_INT(zap_num_ptr);
 
-	purple_prpl_send_attention(session->gc, buddy->name, zap);
+	purple_prpl_send_attention(session->gc, purple_buddy_get_name(buddy), zap);
 }
 
 /** Return menu, if any, for a buddy list node. */