src/circ.c
// Change your nickname to +new_nick+.
//
// TODO: Add corresponding code to change client->nick on successful change.
Change your nickname to +new_nick+.
TODO: Add corresponding code to change client->nick on successful change.
Change your nickname to + new_nick + . TODO : Add corresponding code to change client - > nick on successful change .
bool circ_change_nick(CIrcClient *client, char *new_nick)
{
    strncpy(client->pending_nick, new_nick, NICK_BUFFER_LENGTH);
    return _circ_send2(client, "NICK", new_nick);
}
bool circ_change_nick ( CIrcClient * client , char * new_nick ) { strncpy ( client -> pending_nick , new_nick , NICK_BUFFER_LENGTH ) ; return _circ_send2 ( client , " " , new_nick ) ; }
Change your nickname to +new_nick+.
Change your nickname to + new_nick + .
// Store new_nick. Use strncpy() to avoid buffer overflows.