changeset 2889:fccda160c078

[gaim-migrate @ 2902] i know this is what you really meant, rob committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 16 Dec 2001 02:28:35 +0000
parents 615e2e1d7e72
children 02f048b66155
files src/protocols/msn/msn.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Sun Dec 16 02:22:24 2001 +0000
+++ b/src/protocols/msn/msn.c	Sun Dec 16 02:28:35 2001 +0000
@@ -949,12 +949,13 @@
 		serv_got_update(gc, user, 1, 0, 0, 0, status, 0);
 	} else if (!g_strncasecmp(buf, "OUT", 3)) {
 		char *tmp = buf;
-		static char msg[MSN_BUF_LEN];
 
 		GET_NEXT(tmp);
 		if (!g_strncasecmp(tmp, "OTH", 3)) {
-			g_snprintf(msg, sizeof(msg), _("You have been disconnected. You have signed on from another location."));
-			do_error_dialog(msg, _("MSN Error"));
+			hide_login_progress(gc, _("You have been disconnected. You have "
+						  "signed on from another location."));
+			signoff(gc);
+			return 0;
 		}
 	} else if (!g_strncasecmp(buf, "PRP", 3)) {
 	} else if (!g_strncasecmp(buf, "QNG", 3)) {