Changeset 6451d27


Ignore:
Timestamp:
2011-12-29T21:57:44Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
59c03bd
Parents:
59cd92b
Message:

Move the check for "set auto_connect" to a more sensible location. #878.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • root_commands.c

    r59cd92b r6451d27  
    185185                   possible in 1-process daemon mode). Start auto_connect
    186186                   immediately. */
    187                 if( !ipc_child_identify( irc ) && load &&
    188                     set_getbool( &irc->b->set, "auto_connect" ) )
     187                if( !ipc_child_identify( irc ) && load )
    189188                        cmd_identify_finish( irc, 0, 0 );
    190189               
     
    202201        irc_t *irc = data;
    203202       
    204         cmd_account( irc, account_on );
     203        if( set_getbool( &irc->b->set, "auto_connect" ) )
     204                cmd_account( irc, account_on );
    205205       
    206206        b_event_remove( irc->login_source_id );
Note: See TracChangeset for help on using the changeset viewer.