changeset 13603:6fa38fadd4f8

[gaim-migrate @ 15989] I suppose it would be good not to break AIM signon in the process, hey? committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 09 Apr 2006 23:06:10 +0000
parents 57e5d1455ad7
children 7337e7968654
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Sun Apr 09 23:00:36 2006 +0000
+++ b/src/protocols/oscar/oscar.c	Sun Apr 09 23:06:10 2006 +0000
@@ -941,7 +941,6 @@
 	NewFlapConnectionData *new_conn_data;
 	GaimConnection *gc;
 	OscarData *od;
-	GaimAccount *account;
 	FlapConnection *conn;
 
 	new_conn_data = data;
@@ -956,7 +955,6 @@
 	}
 
 	od = gc->proto_data;
-	account = gaim_connection_get_account(gc);
 	conn = new_conn_data->conn;
 	conn->fd = source;
 
@@ -980,7 +978,7 @@
 			GAIM_INPUT_READ, flap_connection_recv_cb, conn);
 	if (new_conn_data->cookie == NULL)
 	{
-		if (!(conn->type == SNAC_FAMILY_AUTH) && (!aim_sn_is_icq(od->sn)))
+		if (!((conn->type == SNAC_FAMILY_AUTH) && !aim_sn_is_icq(od->sn)))
 			/*
 			 * We don't send this when authenticating an ICQ account
 			 * because for some reason ICQ is still using the