diff src/protocols/oscar/oscar.c @ 5631:960fe32ea9b7

[gaim-migrate @ 6038] i'm tired, so i'm committing what i've got kingant will do a better job with what i hacked into oscar to make it work ;-) committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 01 Jun 2003 06:02:03 +0000
parents 4e2ffa3d9094
children 0bdfa28c678e
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Sun Jun 01 05:18:43 2003 +0000
+++ b/src/protocols/oscar/oscar.c	Sun Jun 01 06:02:03 2003 +0000
@@ -70,9 +70,6 @@
 
 static GaimPlugin *my_protocol = NULL;
 
-/* For win32 compatability */
-G_MODULE_IMPORT int report_idle;
-
 static int caps_aim = AIM_CAPS_CHAT | AIM_CAPS_BUDDYICON | AIM_CAPS_IMIMAGE | AIM_CAPS_SENDFILE | AIM_CAPS_INTEROPERATE;
 static int caps_icq = AIM_CAPS_BUDDYICON | AIM_CAPS_IMIMAGE | AIM_CAPS_SENDFILE | AIM_CAPS_ICQUTF8 | AIM_CAPS_INTEROPERATE;
 
@@ -4909,7 +4906,7 @@
 		}
 		/* Presence settings (idle time visibility) */
 		if ((tmp = aim_ssi_getpresence(sess->ssi.local)) != 0xFFFFFFFF)
-			if (report_idle && !(tmp & 0x400))
+			if (!(tmp & 0x400))
 				aim_ssi_setpresence(sess, tmp | 0x400);
 	} /* end adding buddies from local list to server list */