Changeset 66f783f for protocols


Ignore:
Timestamp:
2006-10-21T21:40:06Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
e8a6211
Parents:
4b0d805
Message:

Complete fix (or mostly a work-around) for nested calls to signoff(). (Can
happen when the IRC connection to the user is broken, a write() to it
eventually fails, which triggers an irc_kill() which, in turn, will call
signoff() for all accounts.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.c

    r4b0d805 r66f783f  
    284284        if( gc->flags & OPT_LOGGING_OUT )
    285285                return;
     286        else
     287                gc->flags |= OPT_LOGGING_OUT;
    286288       
    287289        serv_got_crap( gc, "Signing off.." );
    288290       
    289291        b_event_remove( gc->keepalive );
    290         gc->flags |= OPT_LOGGING_OUT;
    291        
    292292        gc->keepalive = 0;
    293293        gc->acc->prpl->close( gc );
Note: See TracChangeset for help on using the changeset viewer.