changeset 31269:a0b48278899e

Remove some duplicate code.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Tue, 01 Mar 2011 04:41:59 +0000
parents 9562a7baa9e4
children ccda2eba140b
files libpurple/protocols/msn/switchboard.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/switchboard.c	Mon Feb 28 00:19:29 2011 +0000
+++ b/libpurple/protocols/msn/switchboard.c	Tue Mar 01 04:41:59 2011 +0000
@@ -265,12 +265,6 @@
 		return;
 	}
 
-	/* Don't add ourselves either... */
-	if (g_str_equal(passport, purple_account_get_username(account))) {
-		g_free(passport);
-		return;
-	}
-
 	if (!msnuser) {
 		purple_debug_info("msn","User %s is not on our list.\n", passport);
 		msnuser = msn_user_new(userlist, passport, NULL);