diff libpurple/idle.c @ 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 667c209521db
children 44b4e8bd759b
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;