Changeset 60c1a4e


Ignore:
Timestamp:
2007-08-30T22:30:27Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
8d32b9e
Parents:
8ad90fb
Message:

Changed the order in which things are loaded a little bit so
global.conf->plugindir is actually filled in before we call nogaim_init().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • unix.c

    r8ad90fb r60c1a4e  
    4747        memset( &global, 0, sizeof( global_t ) );
    4848       
    49         b_main_init();
    5049        log_init();
    51         nogaim_init();
    52        
    53         srand( time( NULL ) ^ getpid() );
    54        
    5550        CONF_FILE = g_strdup( CONF_FILE_DEF );
    56         global.helpfile = g_strdup( HELP_FILE );
    57        
    5851        global.conf = conf_load( argc, argv );
    5952        if( global.conf == NULL )
    6053                return( 1 );
     54       
     55        b_main_init();
     56        nogaim_init();
     57       
     58        srand( time( NULL ) ^ getpid() );
     59        global.helpfile = g_strdup( HELP_FILE );
    6160       
    6261        if( global.conf->runmode == RUNMODE_INETD )
Note: See TracChangeset for help on using the changeset viewer.