cpw.darkrain42.buddy-add: 84d4cab2: Use purple_buddy_get_protocol_data inste...

paul at darkrain42.org paul at darkrain42.org
Mon Mar 23 00:35:44 EDT 2009


-----------------------------------------------------------------
Revision: 84d4cab27b75c84d4b43340cbbf655c6b0f48b54
Ancestor: 50acb4dd525a1bfca59f720467e3b9bd4f05f433
Author: paul at darkrain42.org
Date: 2009-03-23T04:31:05
Branch: im.pidgin.cpw.darkrain42.buddy-add
URL: http://d.pidgin.im/viewmtn/revision/info/84d4cab27b75c84d4b43340cbbf655c6b0f48b54

Modified files:
        libpurple/protocols/silc/buddy.c
        libpurple/protocols/silc10/buddy.c

ChangeLog: 

Use purple_buddy_get_protocol_data instead of ->proto_data

-------------- next part --------------
============================================================
--- libpurple/protocols/silc/buddy.c	89c6b0c75ca97babd1d918e0b586382549f56acd
+++ libpurple/protocols/silc/buddy.c	283c45660e457f88391fec2cbf633b5b74bc2466
@@ -1401,7 +1401,7 @@ void silcpurple_add_buddy(PurpleConnecti
 	 *
 	 * 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);
 }
 
============================================================
--- libpurple/protocols/silc10/buddy.c	8ab19b00c9821a6572b3ac40e637854b4ad111dd
+++ libpurple/protocols/silc10/buddy.c	d12c5a40ed8a043e2d62a5332429e052de492faa
@@ -1394,7 +1394,7 @@ void silcpurple_add_buddy(PurpleConnecti
 	 *
 	 * 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);
 }
 


More information about the Commits mailing list