Mercurial > pidgin.yaz
diff plugins/idle.c @ 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 | 73777ad45562 |
children | aadf61b30056 |
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);