# HG changeset patch # User Mark Doliner # Date 1085268259 0 # Node ID 3d30ed8dc7b03d7bfd24755b4c68017a0b401ea0 # Parent 8f281104c0316218e5523c0dc86239f0786d9fb8 [gaim-migrate @ 9797] This causes bad stuff to happen when an account is unable to connect. I'm reverting to what it was before my change 20 minutes ago. Hopefully I'll fix it later tonight (Basically I don't think connecting accounts should be classified as "online.") committer: Tailor Script diff -r 8f281104c031 -r 3d30ed8dc7b0 src/account.c --- a/src/account.c Sat May 22 23:17:26 2004 +0000 +++ b/src/account.c Sat May 22 23:24:19 2004 +0000 @@ -683,7 +683,9 @@ gc = gaim_account_get_connection(account); - return ((gc != NULL) && GAIM_CONNECTION_IS_CONNECTED(gc)); + /* XXX - The first way is better... but it doesn't work quite right yet */ + /* return ((gc != NULL) && GAIM_CONNECTION_IS_CONNECTED(gc)); */ + return ((gc != NULL) && gaim_connection_get_state(gc) != GAIM_DISCONNECTED); } const char *