# HG changeset patch # User Nathan Walp # Date 1091725870 0 # Node ID f83a80c25703e8cef19802b90e8319fe957fe9c5 # Parent ba78e5a34bed98965d7abccd30d5e12a2e0fed72 [gaim-migrate @ 10528] this will either fix the jabber-doesn't-go-auto-away thing, or eat everything on your hard drive. or maybe something in between. committer: Tailor Script diff -r ba78e5a34bed -r f83a80c25703 src/idle.c --- a/src/idle.c Thu Aug 05 16:44:48 2004 +0000 +++ b/src/idle.c Thu Aug 05 17:11:10 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;