# HG changeset patch # User Eric Warmenhoven # Date 980926561 0 # Node ID 024f9250ba63c7085cc02c529d04b54d5291a8e4 # Parent 91d84e2073deebc81b9a79961032f8ea7efdc549 [gaim-migrate @ 1460] hi there committer: Tailor Script diff -r 91d84e2073de -r 024f9250ba63 src/idle.c --- a/src/idle.c Wed Jan 31 04:15:18 2001 +0000 +++ b/src/idle.c Wed Jan 31 07:36:01 2001 +0000 @@ -84,8 +84,12 @@ debug_printf("removing auto-away message for %s\n", gc->username); serv_set_away(gc, GAIM_AWAY_CUSTOM, NULL); } else { - debug_printf("replacing auto-away with global for %s\n", gc->username); - serv_set_away(gc, GAIM_AWAY_CUSTOM, awaymessage->message); + if (g_slist_length(connections) == 1) + do_im_back(0, 0); + else { + debug_printf("replacing auto-away with global for %s\n", gc->username); + serv_set_away(gc, GAIM_AWAY_CUSTOM, awaymessage->message); + } } }