changeset 2589:4e149a0b9665

[gaim-migrate @ 2602] i don't like some people. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 23 Oct 2001 20:29:42 +0000
parents a3117e29317d
children 2dd86a1af92b
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Tue Oct 23 10:40:42 2001 +0000
+++ b/src/protocols/oscar/oscar.c	Tue Oct 23 20:29:42 2001 +0000
@@ -441,8 +441,11 @@
 	odata->create_exchange = 0;
 
 	debug_printf(_("Logging in %s\n"), user->username);
-	if (isdigit(*user->username))
+	if (isdigit(*user->username)) {
 		odata->icq = TRUE;
+		/* this is odd but it's necessary for a proper do_import and do_export */
+		gc->protocol = PROTO_ICQ;
+	}
 
 	sess = g_new0(aim_session_t, 1);