Changeset 3558fea
- Timestamp:
- 2011-12-29T20:18:12Z (13 years ago)
- Branches:
- master
- Children:
- 59cd92b
- Parents:
- f1849a8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_commands.c
rf1849a8 r3558fea 87 87 else if( irc->status & USTATUS_LOGGED_IN ) 88 88 { 89 if( irc->status & USTATUS_IDENTIFIED ) 89 /* WATCH OUT: iu from the first if reused here to check if the 90 new nickname is the same (other than case, possibly). If it 91 is, no need to reset identify-status. */ 92 if( ( irc->status & USTATUS_IDENTIFIED ) && iu != irc->user ) 90 93 { 91 94 irc_setpass( irc, NULL ); … … 98 101 } 99 102 100 irc_user_set_nick( irc->user, cmd[1] ); 103 if( strcmp( cmd[1], irc->user->nick ) != 0 ) 104 irc_user_set_nick( irc->user, cmd[1] ); 101 105 } 102 106 else
Note: See TracChangeset
for help on using the changeset viewer.