From 0036e3a70cabea02e9ec2103ed1dfdf5c799289f Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 12 Aug 2009 18:03:52 +0000 Subject: Fixes for config reader git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11504 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands') diff --git a/src/commands/cmd_pass.cpp b/src/commands/cmd_pass.cpp index ef54354a1..e4bbf59c2 100644 --- a/src/commands/cmd_pass.cpp +++ b/src/commands/cmd_pass.cpp @@ -32,7 +32,7 @@ CmdResult CommandPass::Handle (const std::vector& parameters, User return CMD_FAILURE; user->password.assign(parameters[0], 0, 63); - if (!ServerInstance->PassCompare(user, a->GetPass().c_str(), parameters[0].c_str(), a->GetHash().c_str())) + if (!ServerInstance->PassCompare(user, a->pass.c_str(), parameters[0].c_str(), a->hash.c_str())) user->haspassed = true; return CMD_SUCCESS; -- cgit v1.2.3