changeset 4466:473de7371a97

[gaim-migrate @ 4741] Should fix the "user kicked from IRC causes all hell to break loose and core files to fly" bug. Maybe other things. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 30 Jan 2003 03:48:00 +0000
parents 6e37eb000b7a
children 7d24d409d710
files src/gtkconv.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Thu Jan 30 01:43:35 2003 +0000
+++ b/src/gtkconv.c	Thu Jan 30 03:48:00 2003 +0000
@@ -1950,6 +1950,9 @@
 	user   = gaim_conversation_get_user(conv);
 	gtkwin = GAIM_GTK_WINDOW(win);
 
+	if (user == NULL)
+		return;
+
 	if (gtkwin->menu.send_as == NULL)
 		return;