diff src/protocols/msn/user.c @ 11624:45d54425dc65

[gaim-migrate @ 13899] Fix the bug where new buddies were showing up as groups sometimes, silence a few g_log warnings, and make it so that if you add and then remove a user on MSN without signing off and on in between the user is actually removed from the server list committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 08 Oct 2005 16:08:51 +0000
parents 8dca96cbcd64
children 5a444a92c923
line wrap: on
line diff
--- a/src/protocols/msn/user.c	Sat Oct 08 14:33:52 2005 +0000
+++ b/src/protocols/msn/user.c	Sat Oct 08 16:08:51 2005 +0000
@@ -94,7 +94,8 @@
 	account = user->userlist->session->account;
 	gc = gaim_account_get_connection(account);
 
-	gaim_prpl_got_user_status(account, user->passport, user->status, NULL);
+	if (user->status != NULL)
+		gaim_prpl_got_user_status(account, user->passport, user->status, NULL);
 
 	if (user->idle)
 		gaim_prpl_got_user_idle(account, user->passport, TRUE, -1);