diff src/protocols/msn/user.c @ 9776:1e5ef71c9583

[gaim-migrate @ 10644] A patch from Daniel Atallah that should fix sf bug 1008489: "Windows Messenger BOT Crashes Gaim" Someone MSN-savvy should check this to make sure it's a valid fix. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 19 Aug 2004 01:13:58 +0000
parents 4c1a1be8ce33
children 65b3156f9f48
line wrap: on
line diff
--- a/src/protocols/msn/user.c	Thu Aug 19 01:06:34 2004 +0000
+++ b/src/protocols/msn/user.c	Thu Aug 19 01:13:58 2004 +0000
@@ -285,7 +285,7 @@
 
 	user->msnobj = obj;
 
-	if (user->list_op & MSN_LIST_FL_OP)
+	if ((obj != NULL) && (user->list_op & MSN_LIST_FL_OP))
 	{
 		/* TODO: I think we need better buddy icon core functions */
 		GaimAccount *account;