changeset 11974:2ff2965895f3

[gaim-migrate @ 14267] I think this is what was intended here committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Fri, 04 Nov 2005 18:01:55 +0000
parents 0fab529c01fc
children aadf61b30056
files plugins/idle.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/idle.c	Fri Nov 04 17:47:04 2005 +0000
+++ b/plugins/idle.c	Fri Nov 04 18:01:55 2005 +0000
@@ -60,7 +60,7 @@
 			"setting idle time for %s to %d\n",
 			gaim_account_get_username(acct), mins_idle);
 
-	t -= time(NULL) - (60 * mins_idle); /* subtract seconds idle from current time */
+	t = time(NULL) - (60 * mins_idle); /* subtract seconds idle from current time */
 	gc->last_sent_time = t;
 
 	gaim_presence_set_idle(presence, mins_idle ? TRUE : FALSE, t);