]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Whoops, typo
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 19 Feb 2007 08:41:50 +0000 (08:41 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 19 Feb 2007 08:41:50 +0000 (08:41 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6597 e03df62e-2008-0410-955e-edbf42e46eb7

src/cmd_nick.cpp

index 03bad257997ff3e1bdc7e6e4e9f20d3fa2aae177..78483e2f290b4545add2dc02238ba58d6a7010ae 100644 (file)
@@ -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();