changeset 4463:c22bbfd75fd6

[gaim-migrate @ 4738] From Felipe Contreras: "This fixes a bug that happends when you are chatting with someone, he goes away, you send a message, the server responds the user is offline, then you try to start new conversations... everything get's pretty weird." Thanks. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 29 Jan 2003 23:04:12 +0000
parents ff6c275a57d4
children e926d3bdfd14
files src/protocols/msn/msn.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Wed Jan 29 17:21:49 2003 +0000
+++ b/src/protocols/msn/msn.c	Wed Jan 29 23:04:12 2003 +0000
@@ -588,6 +588,10 @@
 		}
 	} else if (isdigit(*buf)) {
 		handle_errcode(buf, TRUE);
+
+		if (atoi(buf) == 217)
+			msn_kill_switch(ms);
+
 	} else {
 		debug_printf("Unhandled message!\n");
 	}