# HG changeset patch # User Ethan Blanton # Date 1061429089 0 # Node ID 6a34b7097149f9a8f59f89b4ef3b5a250787b3a3 # Parent 23a517088ebb8470cbd50ca28d26bad3f3c13372 [gaim-migrate @ 7050] Sometimes, when signals aren't emitted when you think they should be, it's because other parts of the program think they're being emitted when they are being emitted and not when you think they should be. committer: Tailor Script diff -r 23a517088ebb -r 6a34b7097149 src/connection.c --- a/src/connection.c Thu Aug 21 01:22:47 2003 +0000 +++ b/src/connection.c Thu Aug 21 01:24:49 2003 +0000 @@ -188,12 +188,12 @@ serv_close(gc); + connections = g_list_remove(connections, gc); + gaim_connection_set_state(gc, GAIM_DISCONNECTED); gaim_signal_emit(gaim_connections_get_handle(), "signed-off", gc); - connections = g_list_remove(connections, gc); - system_log(log_signoff, gc, NULL, OPT_LOG_BUDDY_SIGNON | OPT_LOG_MY_SIGNON);