changeset 9682:77c63fc5b6d7

[gaim-migrate @ 10534] this is, of course, what I meant committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 05 Aug 2004 21:38:25 +0000
parents 6fd2bd5446e4
children 497a53d9692a
files src/idle.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/idle.c	Thu Aug 05 21:26:44 2004 +0000
+++ b/src/idle.c	Thu Aug 05 21:38:25 2004 +0000
@@ -90,7 +90,7 @@
 		(idle_time > (60 * gaim_prefs_get_int("/core/away/mins_before_away")))
 		&& (!gc->is_auto_away)) {
 
-		if (!gc->away && (!gc->away_state ||
+		if ((!gc->away || !*gc->away) && (!gc->away_state ||
 				!strcmp(gc->away_state, GAIM_AWAY_CUSTOM))) {
 			struct away_message *default_away = NULL;
 			const char *default_name;