]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_vhost.cpp
m_nokicks Remove u-line check, OnUserPreKick doesn't run in that case
[user/henk/code/inspircd.git] / src / modules / m_vhost.cpp
index aac15f58aea63b366066fff7887e447fa94862f8..8ae231f336f9fae709ed17de479f5e84b57e618c 100644 (file)
@@ -56,7 +56,7 @@ class CommandVhost : public Command
                        }
                }
 
-               user->WriteServ("NOTICE "+std::string(user->nick)+" :Invalid username or password.");
+               user->WriteServ("NOTICE "+user->nick+" :Invalid username or password.");
                return CMD_FAILURE;
        }
 };