Changeset bd9b00f for irc.c


Ignore:
Timestamp:
2006-01-19T17:07:47Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
5424c76
Parents:
2face62
Message:

Fixes for single-process daemon mode, changed value of USTATUS_SHUTDOWN. If
this still causes problems, shutting down should be an extra flag instead of
a status code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r2face62 rbd9b00f  
    188188                        irc_usermsg( irc, "Error while saving settings!" );
    189189       
     190        closesocket( irc->fd );
     191       
    190192        if( irc->ping_source_id > 0 )
    191193                g_source_remove( irc->ping_source_id );
     
    694696        irc_usermsg( irc, "Welcome to the BitlBee gateway!\n\nIf you've never used BitlBee before, please do read the help information using the \x02help\x02 command. Lots of FAQ's are answered there." );
    695697       
    696         if( global.conf->runmode == RUNMODE_FORKDAEMON )
     698        if( global.conf->runmode == RUNMODE_FORKDAEMON || global.conf->runmode == RUNMODE_DAEMON )
    697699                ipc_to_master_str( "CLIENT %s %s :%s\r\n", irc->host, irc->nick, irc->realname );
    698700       
Note: See TracChangeset for help on using the changeset viewer.