changeset 9153:5ad89e84b3d3

[gaim-migrate @ 9937] fix a weird bug no one should hit ever committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 31 May 2004 07:31:20 +0000
parents f65be7c97812
children dcb290a0c970
files src/blist.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/blist.c	Mon May 31 07:23:50 2004 +0000
+++ b/src/blist.c	Mon May 31 07:31:20 2004 +0000
@@ -1402,7 +1402,7 @@
 				chat_name = g_hash_table_lookup(chat->components,
 												pce->identifier);
 
-				if (chat->account == account &&
+				if (chat->account == account && chat_name != NULL &&
 					name != NULL && !strcmp(chat_name, name)) {
 
 					return chat;