# HG changeset patch # User Eric Warmenhoven # Date 1003274675 0 # Node ID e7478176e7604e23dec9ff27570d0597c108066f # Parent 9cee43e4903d32fe2c6474db2d6083772a5ccfcb [gaim-migrate @ 2531] don't delete buddy list committer: Tailor Script diff -r 9cee43e4903d -r e7478176e760 src/protocols/gg/gg.c --- a/src/protocols/gg/gg.c Tue Oct 16 19:37:47 2001 +0000 +++ b/src/protocols/gg/gg.c Tue Oct 16 23:24:35 2001 +0000 @@ -1,6 +1,6 @@ /* * gaim - Gadu-Gadu Protocol Plugin - * $Id: gg.c 2514 2001-10-14 11:36:36Z warmenhoven $ + * $Id: gg.c 2531 2001-10-16 23:24:35Z warmenhoven $ * * Copyright (C) 2001, Arkadiusz Mi¶kiewicz * @@ -523,7 +523,8 @@ account_online(gc); serv_finish_login(gc); - do_import(gc, NULL); + if (bud_list_cache_exists(gc)) + do_import(gc, NULL); break; case GG_EVENT_CONN_FAILED: gaim_input_remove(gc->inpa); diff -r 9cee43e4903d -r e7478176e760 src/protocols/toc/toc.c --- a/src/protocols/toc/toc.c Tue Oct 16 19:37:47 2001 +0000 +++ b/src/protocols/toc/toc.c Tue Oct 16 23:24:35 2001 +0000 @@ -551,7 +551,8 @@ account_online(gc); serv_finish_login(gc); - do_import(gc, NULL); + if (bud_list_cache_exists(gc)) + do_import(gc, NULL); /* Client sends TOC toc_init_done message */ debug_printf("* Client sends TOC toc_init_done message\n"); @@ -586,7 +587,8 @@ signoff(gc); return; } - do_import(gc, NULL); + if (bud_list_cache_exists(gc)) + do_import(gc, NULL); g_snprintf(snd, sizeof snd, "toc_init_done"); sflap_send(gc, snd, -1, TYPE_DATA); do_error_dialog(_("TOC has come back from its pause. You may now send"