changeset 24371:b70fa8735b73

msn_session_get_swboard only returns null if we give it a null session, and that's never going to happen
author Mark Doliner <mark@kingant.net>
date Fri, 14 Nov 2008 18:33:19 +0000
parents 5950e7a32c4f
children 97eddfe30726
files libpurple/protocols/msn/msn.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/msn.c	Fri Nov 14 07:41:10 2008 +0000
+++ b/libpurple/protocols/msn/msn.c	Fri Nov 14 18:33:19 2008 +0000
@@ -121,9 +121,6 @@
 	session = gc->proto_data;
 	swboard = msn_session_get_swboard(session, username, MSN_SB_FLAG_IM);
 
-	if (swboard == NULL)
-		return FALSE;
-
 	msn_switchboard_send_msg(swboard, msg, TRUE);
 	msn_message_destroy(msg);