changeset 25556:238da7971abe

- correct reversed logic for setting idle time.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sat, 01 Sep 2007 15:14:19 +0000
parents af320e03fa63
children 26f55eb6ab59
files libpurple/protocols/oscar/oscar.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Sat Sep 01 14:15:32 2007 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Sat Sep 01 15:14:19 2007 +0000
@@ -3600,7 +3600,7 @@
 	g_free(tmp);
 
 	presence = purple_status_get_presence(status);
-	aim_srv_setidle(od, purple_presence_is_idle(presence) ? 0 : time(NULL) - purple_presence_get_idle_time(presence));
+	aim_srv_setidle(od, purple_presence_is_idle(presence) ? time(NULL) - purple_presence_get_idle_time(presence) : 0);
 
 	if (od->icq) {
 		aim_icq_reqofflinemsgs(od);