Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r1195cec r4230221  
    2626#define BITLBEE_CORE
    2727#include "bitlbee.h"
     28#include "sock.h"
    2829#include "crypting.h"
    2930#include "ipc.h"
     
    138139        set_add( &irc->set, "auto_connect", "true", set_eval_bool, irc );
    139140        set_add( &irc->set, "auto_reconnect", "false", set_eval_bool, irc );
    140         set_add( &irc->set, "auto_reconnect_delay", "300", set_eval_int, irc );
     141        set_add( &irc->set, "auto_reconnect_delay", "5*3<900", set_eval_account_reconnect_delay, irc );
    141142        set_add( &irc->set, "buddy_sendbuffer", "false", set_eval_bool, irc );
    142143        set_add( &irc->set, "buddy_sendbuffer_delay", "200", set_eval_int, irc );
     
    314315        g_free( irc );
    315316       
    316         if( global.conf->runmode == RUNMODE_INETD || global.conf->runmode == RUNMODE_FORKDAEMON )
     317        if( global.conf->runmode == RUNMODE_INETD ||
     318            global.conf->runmode == RUNMODE_FORKDAEMON ||
     319            ( global.conf->runmode == RUNMODE_DAEMON &&
     320              global.listen_socket == -1 &&
     321              irc_connection_list == NULL ) )
    317322                b_main_quit();
    318323}
Note: See TracChangeset for help on using the changeset viewer.