# HG changeset patch # User Richard Laager # Date 1137030899 0 # Node ID ab37a4cc477edd5c0c3276386d54af8b31446f38 # Parent 12b23eaa4911f580c991f5f44979fb2ddff91137 [gaim-migrate @ 15189] Bleeter says this does something good, along the lines of leaving a chat when you quit. committer: Tailor Script diff -r 12b23eaa4911 -r ab37a4cc477e src/protocols/yahoo/yahoo.c --- a/src/protocols/yahoo/yahoo.c Thu Jan 12 01:50:44 2006 +0000 +++ b/src/protocols/yahoo/yahoo.c Thu Jan 12 01:54:59 2006 +0000 @@ -2567,6 +2567,10 @@ } g_slist_free(yd->confs); + yd->chat_online = 0; + if (yd->in_chat) + yahoo_c_leave(gc, 1); /* 1 = YAHOO_CHAT_ID */ + g_hash_table_destroy(yd->friends); if (yd->chat_name) g_free(yd->chat_name);