diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd_nick.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd_nick.cpp b/src/cmd_nick.cpp index 1020ef95d..3d74e591a 100644 --- a/src/cmd_nick.cpp +++ b/src/cmd_nick.cpp @@ -80,6 +80,8 @@ CmdResult cmd_nick::Handle (const char** parameters, int pcnt, userrec *user) InUse->UpdateNickHash(changeback.c_str()); strlcpy(InUse->nick, changeback.c_str(), NICKMAX - 1); InUse->InvalidateCache(); + /* Take away their nickname-sent state forcing them to send a nick again */ + InUse->registered &= ~REG_NICK; } else { |