changeset 23320:30deb89c5a76

merge of '457a5c2c9d9b1b235deae2d65b24cc542c12d6e4' and '9ec416e2eb1f0572caf75fe80faa283d3b57deac'
author Ka-Hing Cheung <khc@hxbc.us>
date Sun, 08 Jun 2008 21:44:50 +0000
parents 5b8239453a1e (diff) c200661b5c5c (current diff)
children a61bb76597fc
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c	Sun Jun 08 16:02:46 2008 +0000
+++ b/libpurple/protocols/myspace/myspace.c	Sun Jun 08 21:44:50 2008 +0000
@@ -2404,7 +2404,7 @@
 		const char *username;
 
 		/* If the account does not exist, we can't look up the user. */
-		if (!account)
+		if (!account || !account->gc)
 			return str;
 
 		id = atol(str);