summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-19 09:21:14 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-19 09:21:14 +0000
commite4fea2335a3f64400f91ea07f72624c0f9fe3421 (patch)
treed5bc77db2a1e6f4da99fde09893807d8bd2ed0a4
parent4be6c8212d619b3a61418300f9d2a8ca917c8e02 (diff)
fix obligotary typos
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6599 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/cmd_nick.cpp2
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);