* the nick AAA is the same as the nick aaa.
*/
log(DEBUG,"old nick is new nick, not updating hash (case change only)");
* the nick AAA is the same as the nick aaa.
*/
log(DEBUG,"old nick is new nick, not updating hash (case change only)");
int MOD_RESULT = 0;
FOREACH_RESULT(I_OnUserPreNick,OnUserPreNick(user,parameters[0]));
if (MOD_RESULT)
return;
if (user->registered == 7)
WriteCommon(user,"NICK %s",parameters[0]);
int MOD_RESULT = 0;
FOREACH_RESULT(I_OnUserPreNick,OnUserPreNick(user,parameters[0]));
if (MOD_RESULT)
return;
if (user->registered == 7)
WriteCommon(user,"NICK %s",parameters[0]);
/* change the nick of the user in the users_hash */
user = ReHashNick(user->nick, parameters[0]);
/* change the nick of the user in the users_hash */
user = ReHashNick(user->nick, parameters[0]);