Changeset a429907 for root_commands.c
- Timestamp:
- 2010-12-05T12:28:07Z (13 years ago)
- Branches:
- master
- Children:
- d88c92a
- Parents:
- fd65edb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
rfd65edb ra429907 774 774 { 775 775 irc_user_t *iu, *old; 776 777 iu = irc_user_by_name( irc, cmd[1] ); 776 gboolean del = g_strcasecmp( cmd[1], "-del" ) == 0; 777 778 iu = irc_user_by_name( irc, cmd[del ? 2 : 1] ); 778 779 779 780 if( iu == NULL ) 780 781 { 781 782 irc_usermsg( irc, "Nick `%s' does not exist", cmd[1] ); 783 } 784 else if( del ) 785 { 786 if( iu->bu ) 787 bee_irc_user_nick_reset( iu ); 788 irc_usermsg( irc, "Nickname reset to `%s'", iu->nick ); 782 789 } 783 790 else if( iu == irc->user )
Note: See TracChangeset
for help on using the changeset viewer.