changeset 6149:6f4979d8cc3c

[gaim-migrate @ 6623] I claim this will fix another bug where you can't close the MSN chat window. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 16 Jul 2003 06:41:30 +0000
parents 82e7eaa67406
children f40283608e4b
files src/protocols/msn/msn.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Wed Jul 16 06:15:19 2003 +0000
+++ b/src/protocols/msn/msn.c	Wed Jul 16 06:41:30 2003 +0000
@@ -954,8 +954,10 @@
 	MsnSwitchBoard *swboard = msn_session_find_switch_with_id(session, id);
 	char buf[6];
 
-	if (swboard == NULL)
+	if (swboard == NULL) {
+		serv_got_chat_left(gc, id);
 		return;
+	}
 
 	strcpy(buf, "OUT\r\n");