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