summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-19 08:41:50 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-19 08:41:50 +0000
commitb8cdcf390fb74469d369ffbec4ce25725cb91a87 (patch)
tree4fa7d3c0ba146f6168d5b155d3effafa5bde647e /src
parentddb970dd670bcd905c8f34458f8fcf70e9fd89bd (diff)
Whoops, typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6597 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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 03bad2579..78483e2f2 100644
--- a/src/cmd_nick.cpp
+++ b/src/cmd_nick.cpp
@@ -74,7 +74,7 @@ CmdResult cmd_nick::Handle (const char** parameters, int pcnt, userrec *user)
/* change the nick of the older user to nnn-overruled,
* where nnn is their file descriptor. We know this to be unique.
*/
- std::string changeback = ConvToStr(InUse->fd) + "-overruled";
+ std::string changeback = ConvToStr(InUse->GetFd()) + "-overruled";
InUse->UpdateNickHash(changeback.c_str());
strlcpy(InUse->nick, changeback.c_str(), NICKMAX - 1);
InUse->InvalidateCache();