Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.c

    r4230221 r9143aeb  
    267267           protocols. */
    268268        imc_set_away( ic, u->away );
    269        
    270         /* Apparently we're connected successfully, so reset the
    271            exponential backoff timer. */
    272         ic->acc->auto_reconnect_delay = 0;
    273269}
    274270
     
    294290        user_t *t, *u;
    295291        account_t *a;
    296         int delay;
    297292       
    298293        /* Nested calls might happen sometimes, this is probably the best
     
    334329        }
    335330        else if( allow_reconnect && set_getbool( &irc->set, "auto_reconnect" ) &&
    336                  set_getbool( &a->set, "auto_reconnect" ) &&
    337                  ( delay = account_reconnect_delay( a ) ) > 0 )
    338         {
     331                 set_getbool( &a->set, "auto_reconnect" ) )
     332        {
     333                int delay = set_getint( &irc->set, "auto_reconnect_delay" );
     334               
    339335                imcb_log( ic, "Reconnecting in %d seconds..", delay );
    340336                a->reconnect = b_timeout_add( delay * 1000, auto_reconnect, a );
Note: See TracChangeset for help on using the changeset viewer.