aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/nogaim.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/nogaim.c')
-rw-r--r--protocols/nogaim.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/nogaim.c b/protocols/nogaim.c
index d4ccc3f1..04d1ee3e 100644
--- a/protocols/nogaim.c
+++ b/protocols/nogaim.c
@@ -293,9 +293,10 @@ void signoff( struct gaim_connection *gc )
account_t *a;
serv_got_crap( gc, "Signing off.." );
- gc->flags |= OPT_LOGGING_OUT;
b_event_remove( gc->keepalive );
+ gc->flags |= OPT_LOGGING_OUT;
+
gc->keepalive = 0;
gc->prpl->close( gc );
b_event_remove( gc->inpa );