changeset 17186:b27e535cce50

Fix an infinite loop at startup for finch. Thanks to Bleeter for noticing this.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 20 May 2007 08:41:53 +0000
parents 215de86f8c4a
children 0c7d4f561b04 f199d701d1b1
files libpurple/idle.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/idle.c	Sun May 20 06:51:12 2007 +0000
+++ b/libpurple/idle.c	Sun May 20 08:41:53 2007 +0000
@@ -197,8 +197,8 @@
 	}
 	else if (!no_away && time_idle < away_seconds)
 	{
+		no_away = 1;
 		purple_savedstatus_set_idleaway(FALSE);
-		no_away = 1;
 		if (time_until_next_idle_event == 0 || (away_seconds - time_idle) < time_until_next_idle_event)
 			time_until_next_idle_event = away_seconds - time_idle;
 	}