| 88 |
88 |
| 89 if (gaim_prefs_get_bool("/core/away/away_when_idle") && |
89 if (gaim_prefs_get_bool("/core/away/away_when_idle") && |
| 90 (idle_time > (60 * gaim_prefs_get_int("/core/away/mins_before_away"))) |
90 (idle_time > (60 * gaim_prefs_get_int("/core/away/mins_before_away"))) |
| 91 && (!gc->is_auto_away)) { |
91 && (!gc->is_auto_away)) { |
| 92 |
92 |
| 93 if (!gc->away) { |
93 if (!gc->away || (!*gc->away && (!gc->away_state || |
| |
94 !strcmp(gc->away_state, GAIM_AWAY_CUSTOM)))) { |
| 94 struct away_message *default_away = NULL; |
95 struct away_message *default_away = NULL; |
| 95 const char *default_name; |
96 const char *default_name; |
| 96 GSList *l; |
97 GSList *l; |
| 97 |
98 |
| 98 default_name = gaim_prefs_get_string("/core/away/default_message"); |
99 default_name = gaim_prefs_get_string("/core/away/default_message"); |