Changeset 90bbb0e for root_commands.c


Ignore:
Timestamp:
2006-06-26T16:50:47Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
b3c467b
Parents:
471573f
Message:

Moved the call to "account on" to the right place.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • root_commands.c

    r471573f r90bbb0e  
    127127}
    128128
     129static void cmd_account( irc_t *irc, char **cmd );
     130
    129131static void cmd_identify( irc_t *irc, char **cmd )
    130132{
    131133        storage_status_t status = storage_load( irc->nick, cmd[1], irc );
     134        char *account_on[] = { "account", "on", NULL };
    132135       
    133136        switch (status) {
     
    141144                irc_usermsg( irc, "Password accepted, settings and accounts loaded" );
    142145                irc_umode_set( irc, "+R", 1 );
     146                if( set_getint( irc, "auto_connect" ) )
     147                        cmd_account( irc, account_on );
    143148                break;
    144149        case STORAGE_OTHER_ERROR:
Note: See TracChangeset for help on using the changeset viewer.