aboutsummaryrefslogtreecommitdiffstats
path: root/account.c
diff options
context:
space:
mode:
Diffstat (limited to 'account.c')
-rw-r--r--account.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/account.c b/account.c
index 9245a6e9..1b0d7f26 100644
--- a/account.c
+++ b/account.c
@@ -222,8 +222,7 @@ void account_on( irc_t *irc, account_t *a )
void account_off( irc_t *irc, account_t *a )
{
- a->ic->wants_to_die = TRUE;
- imc_logout( a->ic );
+ imc_logout( a->ic, TRUE );
a->ic = NULL;
if( a->reconnect )
{