changeset 19389:994d36743cbb

Prevent recursive idle handling loop. Patch from 'Gambit'
author Sean Egan <seanegan@gmail.com>
date Thu, 23 Aug 2007 21:29:22 +0000
parents 1c97caf1ebbb
children ecf46f3674a9
files libpurple/idle.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/idle.c	Thu Aug 23 21:20:49 2007 +0000
+++ b/libpurple/idle.c	Thu Aug 23 21:29:22 2007 +0000
@@ -163,8 +163,8 @@
 		{
 			if (!no_away)
 			{
+				no_away = TRUE;
 				purple_savedstatus_set_idleaway(FALSE);
-				no_away = TRUE;
 			}
 			time_until_next_idle_event = 0;
 			return;