Changeset 673a54c for irc.c


Ignore:
Timestamp:
2009-03-12T19:33:28Z (15 years ago)
Author:
Sven Moritz Hallberg <pesco@…>
Branches:
master
Children:
fc34fb5
Parents:
823de9d (diff), 9e768da (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:

pretty blind try at merging in the latest trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r823de9d r673a54c  
    146146        irc_connection_list = g_slist_append( irc_connection_list, irc );
    147147
     148       
    148149        s = set_add( &irc->set, "auto_connect", "true", set_eval_bool, irc );
    149150        s = set_add( &irc->set, "auto_reconnect", "false", set_eval_bool, irc );
     
    418419                        }
    419420                       
    420                         if( lines[i] )
    421                         {
    422                                 if( ( cmd = irc_parse_line( lines[i] ) ) == NULL )
    423                                         continue;
     421                        if( lines[i] && ( cmd = irc_parse_line( lines[i] ) ) )
     422                        {
    424423                                irc_exec( irc, cmd );
    425424                                g_free( cmd );
     
    496495        if( line[0] == ':' )
    497496        {
    498                 for( i = 0; line[i] != ' '; i ++ );
     497                for( i = 0; line[i] && line[i] != ' '; i ++ );
    499498                line = line + i;
    500499        }
     
    821820        irc_reply( irc,   3, ":%s", IRCD_INFO );
    822821        irc_reply( irc,   4, "%s %s %s %s", irc->myhost, BITLBEE_VERSION, UMODES UMODES_PRIV, CMODES );
    823         irc_reply( irc,   5, "PREFIX=(ohv)@%%+ CHANTYPES=#& CHANMODES=,,,%s NICKLEN=%d NETWORK=BitlBee CASEMAPPING=rfc1459 MAXTARGETS=1 WATCH=128 :are supported by this server", CMODES, MAX_NICK_LENGTH - 1 );
     822        irc_reply( irc,   5, "PREFIX=(ohv)@%%+ CHANTYPES=%s CHANMODES=,,,%s NICKLEN=%d NETWORK=BitlBee "
     823                             "CASEMAPPING=rfc1459 MAXTARGETS=1 WATCH=128 :are supported by this server",
     824                             CTYPES, CMODES, MAX_NICK_LENGTH - 1 );
    824825        irc_motd( irc );
    825826        irc->umode[0] = '\0';
     
    10851086        user_t *u = NULL;
    10861087       
    1087         if( *nick == '#' || *nick == '&' )
     1088        if( strchr( CTYPES, *nick ) )
    10881089        {
    10891090                if( !( c = irc_chat_by_channel( irc, nick ) ) )
Note: See TracChangeset for help on using the changeset viewer.