Changeset e277e80 for irc_commands.c
- Timestamp:
- 2013-04-20T22:50:31Z (11 years ago)
- Branches:
- master
- Children:
- c608891
- Parents:
- dd95ce4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_commands.c
rdd95ce4 re277e80 80 80 irc_send_num( irc, 433, "%s :This nick is already in use", cmd[1] ); 81 81 } 82 else if( !nick_ok( cmd[1] ) )82 else if( !nick_ok( NULL, cmd[1] ) ) 83 83 { 84 84 /* [SH] Invalid characters. */ … … 291 291 else 292 292 { 293 if( nick_cmp( cmd[1], irc->user->nick ) == 0 )293 if( nick_cmp( NULL, cmd[1], irc->user->nick ) == 0 ) 294 294 { 295 295 if( cmd[2] ) … … 392 392 /* At least for now just echo. IIRC some IRC clients use self-notices 393 393 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 ) 395 395 irc_send_msg( irc->user, "NOTICE", irc->user->nick, cmd[2], NULL ); 396 396 else if( ( iu = irc_user_by_name( irc, cmd[1] ) ) ) … … 593 593 594 594 nick = g_strdup( cmd[i] + 1 ); 595 nick_lc( nick );595 nick_lc( irc, nick ); 596 596 597 597 iu = irc_user_by_name( irc, nick );
Note: See TracChangeset
for help on using the changeset viewer.