Sat, 22 Oct 2005 22:38:00 +0000
[gaim-migrate @ 14016]
Don't crash when we hit the idle-away timeout (we don't set ourselves
to away, either, but that'll come eventually)
| src/idle.c | file | annotate | diff | comparison | revisions |
--- a/src/idle.c Sat Oct 22 22:29:40 2005 +0000 +++ b/src/idle.c Sat Oct 22 22:38:00 2005 +0000 @@ -160,7 +160,8 @@ /* Mark our accounts "away" using the idleaway status */ idleaway_name = gaim_prefs_get_string("/core/status/idleaway"); saved_status = gaim_savedstatus_find(idleaway_name); - gaim_savedstatus_activate(saved_status); + if (saved_status) + gaim_savedstatus_activate(saved_status); gc->is_auto_away = GAIM_IDLE_AUTO_AWAY; } else {