Changeset ebaebfe for irc.c


Ignore:
Timestamp:
2010-03-27T01:57:00Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
4be8239
Parents:
3ddb7477
Message:

PING and QUIT work now, and adding some files that weren't checked in so
far.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r3ddb7477 rebaebfe  
    124124        irc->user->host = g_strdup( host );
    125125       
    126         conf_loaddefaults( b );
     126        conf_loaddefaults( irc );
    127127       
    128128        /* Evaluator sets the iconv/oconv structures. */
     
    130130       
    131131        irc_write( irc, ":%s NOTICE AUTH :%s", irc->root->host, "BitlBee-IRCd initialized, please go on" );
     132       
     133        g_free( myhost );
     134        g_free( host );
    132135       
    133136        return irc;
     
    203206       
    204207        while( irc->users )
    205                 irc_user_free( irc, irc->users->data );
     208        {
     209                irc_user_t *iu = irc->users->data;
     210                irc_user_free( irc, iu->nick );
     211        }
    206212       
    207213        if( irc->ping_source_id > 0 )
Note: See TracChangeset for help on using the changeset viewer.