diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-24 16:16:38 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2006-03-24 16:16:38 +0100 |
commit | 728a981e422539df38d27d87e33829082d376ac6 (patch) | |
tree | 86458693b4f0f38f3695ce7fe3bcc7b1ee67c818 /irc.c | |
parent | 96ace1b808f4df3f2106fa90c19fdc23408f924d (diff) | |
parent | 9b8a38bfa9a89e9741521ac522927c80b68976cf (diff) |
[merge] Wilmer
Diffstat (limited to 'irc.c')
-rw-r--r-- | irc.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -231,9 +231,12 @@ void irc_free(irc_t * irc) g_io_channel_unref( irc->io_channel ); irc_connection_list = g_slist_remove( irc_connection_list, irc ); - for (account = irc->accounts; account; account = account->next) + for (account = irc->accounts; account; account = account->next) { if (account->gc) - signoff(account->gc); + account_offline(account->gc); + else if (account->reconnect) + g_source_remove(account->reconnect); + } g_free(irc->sendbuffer); g_free(irc->readbuffer); |