Changeset 565a1ea for irc.c


Ignore:
Timestamp:
2008-06-29T09:35:41Z (16 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
1145964
Parents:
e0f9170
Message:

Added the DEAF command, which makes the daemon stop listening for new
connections. This makes it easier to upgrade a BitlBee without having
to disconnect all current users immediately. Closes #428.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    re0f9170 r565a1ea  
    314314        g_free( irc );
    315315       
    316         if( global.conf->runmode == RUNMODE_INETD || global.conf->runmode == RUNMODE_FORKDAEMON )
     316        if( global.conf->runmode == RUNMODE_INETD ||
     317            global.conf->runmode == RUNMODE_FORKDAEMON ||
     318            ( global.conf->runmode == RUNMODE_DAEMON &&
     319              global.listen_socket == -1 &&
     320              irc_connection_list == NULL ) )
    317321                b_main_quit();
    318322}
Note: See TracChangeset for help on using the changeset viewer.