cpw.darkrain42.buddy-add: e63c3260: Hiding in novell

paul at darkrain42.org paul at darkrain42.org
Mon Mar 23 00:45:32 EDT 2009


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

Modified files:
        libpurple/protocols/novell/novell.c

ChangeLog: 

Hiding in novell

-------------- next part --------------
============================================================
--- libpurple/protocols/novell/novell.c	d531d888464442f57563b0af9d64b24c3629ee96
+++ libpurple/protocols/novell/novell.c	79bf3e4658a3da95082d4dad268ae6e56154d039
@@ -2547,7 +2547,7 @@ novell_add_buddy(PurpleConnection * gc, 
 	if (gc == NULL || buddy == NULL || group == NULL)
 		return;
 
-	user = (NMUser *) gc->proto_data;
+	user = (NMUser *) purple_connection_get_protocol_data(gc);
 	if (user == NULL)
 		return;
 
@@ -2558,7 +2558,7 @@ novell_add_buddy(PurpleConnection * gc, 
 		return;
 
 	/* Don't re-add a buddy that is already on our contact list */
-	if (nm_find_user_record(user, buddy->name) != NULL)
+	if (nm_find_user_record(user, purple_buddy_get_name(buddy)) != NULL)
 		return;
 
 	contact = nm_create_contact();


More information about the Commits mailing list