Mercurial > pidgin.yaz
diff src/idle.c @ 9693:3c71f18b2394
[gaim-migrate @ 10547]
paco-paco says this doesn't blow up for him, so maybe it'll fix the problem
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 06 Aug 2004 03:19:00 +0000 |
parents | e2a9255c4897 |
children | 4d05b6e9e9cd |
line wrap: on
line diff
--- 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;