diff options
author | ulim <a.sporto+bee@gmail.com> | 2008-08-04 16:45:24 +0200 |
---|---|---|
committer | ulim <a.sporto+bee@gmail.com> | 2008-08-04 16:45:24 +0200 |
commit | 8661caad555f4306cf36ee37979a7637b05d5cd4 (patch) | |
tree | 7e4a7c3d6a700610dd31d109508b07caa3253902 /irc.c | |
parent | 4ac647dbcef152bebde7209f7c9cbbf8a5e0fc37 (diff) | |
parent | 718e05f842c1af043eb4efded8b0afe429377f70 (diff) |
merged in upstream r410.
Only conflict was the correction of jabber normalization which I had already done.
Diffstat (limited to 'irc.c')
-rw-r--r-- | irc.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -25,6 +25,7 @@ #define BITLBEE_CORE #include "bitlbee.h" +#include "sock.h" #include "crypting.h" #include "ipc.h" #include "dcc.h" @@ -314,7 +315,11 @@ void irc_free( irc_t * irc ) g_free( irc ); - if( global.conf->runmode == RUNMODE_INETD || global.conf->runmode == RUNMODE_FORKDAEMON ) + if( global.conf->runmode == RUNMODE_INETD || + global.conf->runmode == RUNMODE_FORKDAEMON || + ( global.conf->runmode == RUNMODE_DAEMON && + global.listen_socket == -1 && + irc_connection_list == NULL ) ) b_main_quit(); } |