Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_commands.c

    r0e788f5 re277e80  
    8080                irc_send_num( irc, 433, "%s :This nick is already in use", cmd[1] );
    8181        }
    82         else if( !nick_ok( cmd[1] ) )
     82        else if( !nick_ok( NULL, cmd[1] ) )
    8383        {
    8484                /* [SH] Invalid characters. */
     
    291291        else
    292292        {
    293                 if( nick_cmp( cmd[1], irc->user->nick ) == 0 )
     293                if( nick_cmp( NULL, cmd[1], irc->user->nick ) == 0 )
    294294                {
    295295                        if( cmd[2] )
     
    392392        /* At least for now just echo. IIRC some IRC clients use self-notices
    393393           for lag checks, so try to support that. */
    394         if( nick_cmp( cmd[1], irc->user->nick ) == 0 )
     394        if( nick_cmp( NULL, cmd[1], irc->user->nick ) == 0 )
    395395                irc_send_msg( irc->user, "NOTICE", irc->user->nick, cmd[2], NULL );
    396396        else if( ( iu = irc_user_by_name( irc, cmd[1] ) ) )
     
    593593               
    594594                nick = g_strdup( cmd[i] + 1 );
    595                 nick_lc( nick );
     595                nick_lc( irc, nick );
    596596               
    597597                iu = irc_user_by_name( irc, nick );
Note: See TracChangeset for help on using the changeset viewer.