]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_pass.cpp
Remove the craqy self-restarting loop in trunk, and use proper safe iterators to...
[user/henk/code/inspircd.git] / src / commands / cmd_pass.cpp
index fc09d2a414b567100aa608e74583b49146db98b2..2333661e77c072cac7cc8d1cc7b37a0ced488329 100644 (file)
@@ -24,7 +24,7 @@ CmdResult CommandPass::Handle (const char* const* parameters, int, User *user)
        // Check to make sure they havnt registered -- Fix by FCS
        if (user->registered == REG_ALL)
        {
-               user->WriteServ("462 %s :You may not reregister",user->nick);
+               user->WriteNumeric(462, "%s :You may not reregister",user->nick);
                return CMD_FAILURE;
        }
        ConnectClass* a = user->GetClass();