diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-11-07 17:32:40 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2005-11-07 17:32:40 +0100 |
commit | 99318adcb88fa3f1dd21882ec364e682fec96c5e (patch) | |
tree | c233b84f872ef88498e08f835d39e531d9f6fa24 /unix.c | |
parent | d1d677615e12d759b6cdf7ce23a493bc055ef37f (diff) |
Import work on services-based Win32 port
Diffstat (limited to 'unix.c')
-rw-r--r-- | unix.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -60,12 +60,18 @@ int main( int argc, char *argv[] ) if( global.conf->runmode == RUNMODE_INETD ) { + log_link( LOGLVL_ERROR, LOGOUTPUT_IRC ); + log_link( LOGLVL_WARNING, LOGOUTPUT_IRC ); + i = bitlbee_inetd_init(); log_message( LOGLVL_INFO, "Bitlbee %s starting in inetd mode.", BITLBEE_VERSION ); } else if( global.conf->runmode == RUNMODE_DAEMON ) { + log_link( LOGLVL_ERROR, LOGOUTPUT_SYSLOG ); + log_link( LOGLVL_WARNING, LOGOUTPUT_SYSLOG ); + i = bitlbee_daemon_init(); log_message( LOGLVL_INFO, "Bitlbee %s starting in daemon mode.", BITLBEE_VERSION ); } |