comparison libpurple/protocols/silc10/buddy.c @ 26286:16698063c352

Use purple_buddy_get_protocol_data instead of ->proto_data
author Paul Aurich <paul@darkrain42.org>
date Mon, 23 Mar 2009 04:31:05 +0000
parents 071414f413a4
children 5391094529c6
comparison
equal deleted inserted replaced
26285:a2a03df86f59 26286:16698063c352
1392 { 1392 {
1393 /* Don't add if the buddy is already on the list. 1393 /* Don't add if the buddy is already on the list.
1394 * 1394 *
1395 * SILC doesn't have groups, so we don't need to do anything 1395 * SILC doesn't have groups, so we don't need to do anything
1396 * for a move. */ 1396 * for a move. */
1397 if (buddy->proto_data == NULL) 1397 if (purple_buddy_get_protocol_data(buddy) == NULL)
1398 silcpurple_add_buddy_i(gc, buddy, FALSE); 1398 silcpurple_add_buddy_i(gc, buddy, FALSE);
1399 } 1399 }
1400 1400
1401 void silcpurple_send_buddylist(PurpleConnection *gc) 1401 void silcpurple_send_buddylist(PurpleConnection *gc)
1402 { 1402 {