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 78483e2f2..76ac00bb5 100644 --- a/src/cmd_nick.cpp +++ b/src/cmd_nick.cpp @@ -75,6 +75,8 @@ CmdResult cmd_nick::Handle (const char** parameters, int pcnt, userrec *user) * where nnn is their file descriptor. We know this to be unique. */ std::string changeback = ConvToStr(InUse->GetFd()) + "-overruled"; + InUse->WriteFrom("NICK %s", changeback.c_str()); + InUse->WriteServ("433 %s %s :Nickname overruled.", InUse->nick, InUse->nick); InUse->UpdateNickHash(changeback.c_str()); strlcpy(InUse->nick, changeback.c_str(), NICKMAX - 1); InUse->InvalidateCache(); |