changeset 2887:704e1685f89b

[gaim-migrate @ 2900] Thanks, Matt Wright. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Sun, 16 Dec 2001 02:21:55 +0000
parents 9571d6794ef3
children 615e2e1d7e72
files src/protocols/msn/msn.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Fri Dec 14 20:39:26 2001 +0000
+++ b/src/protocols/msn/msn.c	Sun Dec 16 02:21:55 2001 +0000
@@ -948,6 +948,14 @@
 
 		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(mg), _("You have been disconnected. You have signed on from another location."));
+			do_error_dialog(msg, _("MSN Error"));
+		}
 	} else if (!g_strncasecmp(buf, "PRP", 3)) {
 	} else if (!g_strncasecmp(buf, "QNG", 3)) {
 	} else if (!g_strncasecmp(buf, "QRY", 3)) {