aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/nogaim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/nogaim.c b/protocols/nogaim.c
index 36461b32..3e9d7c07 100644
--- a/protocols/nogaim.c
+++ b/protocols/nogaim.c
@@ -283,12 +283,12 @@ void signoff( struct gaim_connection *gc )
place to catch them. */
if( gc->flags & OPT_LOGGING_OUT )
return;
+ else
+ gc->flags |= OPT_LOGGING_OUT;
serv_got_crap( gc, "Signing off.." );
b_event_remove( gc->keepalive );
- gc->flags |= OPT_LOGGING_OUT;
-
gc->keepalive = 0;
gc->acc->prpl->close( gc );
b_event_remove( gc->inpa );