]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chghost.cpp
Remove unneccessary temp value which caused a win32 problem by using uint32_t type.
[user/henk/code/inspircd.git] / src / modules / m_chghost.cpp
index 67b39cb665fb3c72c79e4d56b0d40fd66dd62b7c..b1d9ade7cd6207a480377e760855e54de94777cd 100644 (file)
@@ -56,7 +56,7 @@ class CommandChghost : public Command
 
                if (!dest)
                {
-                       user->WriteNumeric(401, "%s %s :No such nick/channel", user->nick.c_str(), parameters[0].c_str());
+                       user->WriteNumeric(ERR_NOSUCHNICK, "%s %s :No such nick/channel", user->nick.c_str(), parameters[0].c_str());
                        return CMD_FAILURE;
                }