diff options
-rw-r--r-- | src/cmd_nick.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_nick.cpp b/src/cmd_nick.cpp index 76ac00bb5..1020ef95d 100644 --- a/src/cmd_nick.cpp +++ b/src/cmd_nick.cpp @@ -75,7 +75,7 @@ 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->WriteTo(InUse, "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); |