Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.c

    rba9edaa rc98be00  
    248248         * This fixes daemon mode breakage where IRC doesn't point to the currently active connection.
    249249         */
    250         gc->irc=user->irc;
     250        gc->irc = user->irc;
    251251       
    252252        connections = g_slist_append( connections, gc );
     
    372372void cancel_auto_reconnect( account_t *a )
    373373{
    374         while( b_event_remove_by_data( (gpointer) a ) );
     374        /* while( b_event_remove_by_data( (gpointer) a ) ); */
     375        b_event_remove( a->reconnect );
    375376        a->reconnect = 0;
    376377}
     
    414415        {
    415416                int delay = set_getint( irc, "auto_reconnect_delay" );
     417               
    416418                serv_got_crap( gc, "Reconnecting in %d seconds..", delay );
    417                
    418                 a->reconnect = 1;
    419                 b_timeout_add( delay * 1000, auto_reconnect, a );
     419                a->reconnect = b_timeout_add( delay * 1000, auto_reconnect, a );
    420420        }
    421421       
Note: See TracChangeset for help on using the changeset viewer.