changeset 26204: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 a2a03df86f59
children f0ed5cd1073d
files libpurple/protocols/silc/buddy.c libpurple/protocols/silc10/buddy.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/silc/buddy.c	Mon Mar 23 04:27:41 2009 +0000
+++ b/libpurple/protocols/silc/buddy.c	Mon Mar 23 04:31:05 2009 +0000
@@ -1401,7 +1401,7 @@
 	 *
 	 * SILC doesn't have groups, so we also don't need to do anything
 	 * for a move. */
-	if (buddy->proto_data == NULL)
+	if (purple_buddy_get_protocol_data(buddy) == NULL)
 		silcpurple_add_buddy_i(gc, buddy, FALSE);
 }
 
--- a/libpurple/protocols/silc10/buddy.c	Mon Mar 23 04:27:41 2009 +0000
+++ b/libpurple/protocols/silc10/buddy.c	Mon Mar 23 04:31:05 2009 +0000
@@ -1394,7 +1394,7 @@
 	 *
 	 * SILC doesn't have groups, so we don't need to do anything
 	 * for a move. */
-	if (buddy->proto_data == NULL)
+	if (purple_buddy_get_protocol_data(buddy) == NULL)
 		silcpurple_add_buddy_i(gc, buddy, FALSE);
 }