changeset 4651:877407fc8cc3

[gaim-migrate @ 4962] when the wood nymphs said "hi," this is what they meant. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 05 Mar 2003 07:58:29 +0000
parents 4938d12f6d48
children 0f8717733f33
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Wed Mar 05 05:10:47 2003 +0000
+++ b/src/protocols/oscar/oscar.c	Wed Mar 05 07:58:29 2003 +0000
@@ -3271,11 +3271,11 @@
 
 	debug_printf("Disconnected.  Code is 0x%04x and msg is %s\n", code, msg);
 	if ((fr) && (fr->conn) && (fr->conn->type == AIM_CONN_TYPE_BOS)) {
-		if (code == 0x0001)
-			do_error_dialog(_("Connection Error"), _("You have been disconnected because you have signed on with this screen name at another location."), GAIM_ERROR);
-		else
-			do_error_dialog(_("Connection Error"), _("You have been signed off for an unknown reason."), GAIM_ERROR);
-		signoff(gc);
+		if (code == 0x0001) {
+			hide_login_progress(gc, _("You have been disconnected because you have signed on with this screen name at another location."));
+		} else {
+			hide_login_progress(gc, _("You have been signed off for an unknown reason."));
+		}
 	}
 
 	return 1;