Changeset 2face62 for irc.c


Ignore:
Timestamp:
2006-01-19T16:34:41Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
bd9b00f
Parents:
4c266f2 (diff), 4c266f2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

A bit too much for one commit, but well: Client processes didn't clean up
some master structs (bitlbee_child list) yet, and added the IPC CLIENT
command to inform the master process about host- and nickname. Can be useful
later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r4c266f2 r2face62  
    2727#include "bitlbee.h"
    2828#include "crypting.h"
     29#include "ipc.h"
    2930
    3031static gboolean irc_userping( gpointer _irc );
     
    689690        u->realname = g_strdup( irc->realname );
    690691        u->online = 1;
    691 //      u->send_handler = msg_echo;
    692692        irc_spawn( irc, u );
    693693       
    694694        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." );
     695       
     696        if( global.conf->runmode == RUNMODE_FORKDAEMON )
     697                ipc_to_master_str( "CLIENT %s %s :%s\r\n", irc->host, irc->nick, irc->realname );
    695698       
    696699        irc->status = USTATUS_LOGGED_IN;
Note: See TracChangeset for help on using the changeset viewer.