# HG changeset patch # User Nathan Walp # Date 1091762340 0 # Node ID 3c71f18b2394258eb1d51ea341380f4636e4015a # Parent e2a9255c4897bcb5c73ad52526ce143feb93399b [gaim-migrate @ 10547] paco-paco says this doesn't blow up for him, so maybe it'll fix the problem committer: Tailor Script diff -r e2a9255c4897 -r 3c71f18b2394 src/idle.c --- a/src/idle.c Fri Aug 06 03:13:33 2004 +0000 +++ b/src/idle.c Fri Aug 06 03:19:00 2004 +0000 @@ -90,7 +90,8 @@ (idle_time > (60 * gaim_prefs_get_int("/core/away/mins_before_away"))) && (!gc->is_auto_away)) { - if (!gc->away) { + 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; GSList *l;