Changeset 94281ef for irc.c


Ignore:
Timestamp:
2005-11-19T11:54:01Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
2cdd8ce, 66c57924
Parents:
4d50898
Message:

Oops, even BitlBee didn't know yet that channel names can start with &. Now it should.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r4d50898 r94281ef  
    486486                        irc_reply( irc, 461, "%s :Need more parameters", cmd[0] );
    487487                }
    488                 else if( *cmd[1] == '#' )
     488                else if( *cmd[1] == '#' || *cmd[1] == '&' )
    489489                {
    490490                        if( cmd[2] )
     
    557557                else if( cmd[1] )
    558558                {
    559                         if( cmd[1][0] == '#' && cmd[1][1] )
     559                        if( ( cmd[1][0] == '#' || cmd[1][0] == '&' ) && cmd[1][1] )
    560560                        {
    561561                                user_t *u = user_find( irc, cmd[1] + 1 );
     
    13251325        user_t *u = NULL;
    13261326       
    1327         if( *nick == '#' )
     1327        if( *nick == '#' || *nick == '&' )
    13281328        {
    13291329                if( !( c = conv_findchannel( nick ) ) )
Note: See TracChangeset for help on using the changeset viewer.