Changeset e277e80 for root_commands.c


Ignore:
Timestamp:
2013-04-20T22:50:31Z (6 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
c608891
Parents:
dd95ce4
Message:

Add irc_t* argument to all relevant nick_*() functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • root_commands.c

    rdd95ce4 re277e80  
    702702        if( cmd[3] )
    703703        {
    704                 if( !nick_ok( cmd[3] ) )
     704                if( !nick_ok( irc, cmd[3] ) )
    705705                {
    706706                        irc_rootmsg( irc, "The requested nick `%s' is invalid", cmd[3] );
     
    844844                irc_rootmsg( irc, "Use /nick to change your own nickname" );
    845845        }
    846         else if( !nick_ok( cmd[2] ) )
     846        else if( !nick_ok( irc, cmd[2] ) )
    847847        {
    848848                irc_rootmsg( irc, "Nick `%s' is invalid", cmd[2] );
Note: See TracChangeset for help on using the changeset viewer.