Changeset 55cc2be3 for irc.c


Ignore:
Timestamp:
2006-03-15T18:17:01Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
58f3136
Parents:
022e77f
Message:

Fixed cleanup of connections in (non-forking) daemon mode. (Better handling
of auto_reconnect)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r022e77f r55cc2be3  
    232232        irc_connection_list = g_slist_remove( irc_connection_list, irc );
    233233       
    234         for (account = irc->accounts; account; account = account->next)
     234        for (account = irc->accounts; account; account = account->next) {
    235235                if (account->gc)
    236                         signoff(account->gc);
     236                        account_offline(account->gc);
     237                else if (account->reconnect)
     238                        g_source_remove(account->reconnect);
     239        }
    237240       
    238241        g_free(irc->sendbuffer);
Note: See TracChangeset for help on using the changeset viewer.