diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-04-13 09:30:11 +0200 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-04-13 09:30:11 +0200 | 
| commit | c99af3a10749850864e230b660060f6a0719925a (patch) | |
| tree | db1334ffeee5c8e9adcf07ce9c4c57a13d4cb43f /irc.c | |
| parent | 88b3a0738032596d74cb98ee6cdc8feab4b50d30 (diff) | |
Removed account_offline(), we have signoff() already.
Diffstat (limited to 'irc.c')
| -rw-r--r-- | irc.c | 8 | 
1 files changed, 5 insertions, 3 deletions
| @@ -232,10 +232,12 @@ void irc_free(irc_t * irc)  	irc_connection_list = g_slist_remove( irc_connection_list, irc );  	for (account = irc->accounts; account; account = account->next) { -		if (account->gc) -			account_offline(account->gc); -		else if (account->reconnect) +		if (account->gc) { +			account->gc->wants_to_die = TRUE; +			signoff(account->gc); +		} else if (account->reconnect) {  			cancel_auto_reconnect(account); +		}  	}  	g_free(irc->sendbuffer); | 
