cpw.darkrain42.buddy-add: 892b508e: Fix the novell check

paul at darkrain42.org paul at darkrain42.org
Sat Jan 17 17:57:20 EST 2009


-----------------------------------------------------------------
Revision: 892b508e59b21b980090af93689ae9412ee65b58
Ancestor: efede975ff9a603c14dd195e9c7b72b1d7e15364
Author: paul at darkrain42.org
Date: 2008-12-21T22:42:04
Branch: im.pidgin.cpw.darkrain42.buddy-add
URL: http://d.pidgin.im/viewmtn/revision/info/892b508e59b21b980090af93689ae9412ee65b58

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

ChangeLog: 

Fix the novell check

-------------- next part --------------
============================================================
--- libpurple/protocols/novell/novell.c	ef6fec546c3a85b7ee2f05ca15a8f370d40e1dab
+++ libpurple/protocols/novell/novell.c	53c02571d6902284852552ff13bdb50a2f551682
@@ -2554,7 +2554,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, buddy->name) != NULL)
 		return;
 
 	contact = nm_create_contact();


More information about the Commits mailing list