Changes in irc.c [e1720ce:3183c21]
Legend:
- Unmodified
- Added
- Removed
-
irc.c
re1720ce r3183c21 407 407 } 408 408 409 if( lines[i] && ( cmd = irc_parse_line( lines[i] ) ) ) 410 { 409 if( lines[i] ) 410 { 411 if( ( cmd = irc_parse_line( lines[i] ) ) == NULL ) 412 continue; 411 413 irc_exec( irc, cmd ); 412 414 g_free( cmd ); … … 483 485 if( line[0] == ':' ) 484 486 { 485 for( i = 0; line[i] && line[i]!= ' '; i ++ );487 for( i = 0; line[i] != ' '; i ++ ); 486 488 line = line + i; 487 489 } … … 779 781 irc_reply( irc, 3, ":%s", IRCD_INFO ); 780 782 irc_reply( irc, 4, "%s %s %s %s", irc->myhost, BITLBEE_VERSION, UMODES UMODES_PRIV, CMODES ); 781 irc_reply( irc, 5, "PREFIX=(ov)@+ CHANTYPES=%s CHANMODES=,,,%s NICKLEN=%d NETWORK=BitlBee " 782 "CASEMAPPING=rfc1459 MAXTARGETS=1 WATCH=128 :are supported by this server", 783 CTYPES, CMODES, MAX_NICK_LENGTH - 1 ); 783 irc_reply( irc, 5, "PREFIX=(ov)@+ CHANTYPES=#& CHANMODES=,,,%s NICKLEN=%d NETWORK=BitlBee CASEMAPPING=rfc1459 MAXTARGETS=1 WATCH=128 :are supported by this server", CMODES, MAX_NICK_LENGTH - 1 ); 784 784 irc_motd( irc ); 785 785 irc->umode[0] = '\0'; … … 1022 1022 user_t *u = NULL; 1023 1023 1024 if( strchr( CTYPES, *nick ))1024 if( *nick == '#' || *nick == '&' ) 1025 1025 { 1026 1026 if( !( c = irc_chat_by_channel( irc, nick ) ) )
Note: See TracChangeset
for help on using the changeset viewer.