diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-08-12 18:03:52 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-08-12 18:03:52 +0000 |
commit | 0036e3a70cabea02e9ec2103ed1dfdf5c799289f (patch) | |
tree | 649d2ea45cd483fc83a293b2c2542212cffa051e /src/commands | |
parent | b33f836f1b863207a430bfa9cd1dffeaa406524d (diff) |
Fixes for config reader
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11504 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/cmd_pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::string>& 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; |