From 66b3ba75d015d21cc05686342693a59db334877b Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Wed, 31 Mar 2010 09:32:05 -0500 Subject: [PATCH] Fix incorrectly reading --- src/users.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/users.cpp b/src/users.cpp index f6010bf38..2e2229afa 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1629,9 +1629,9 @@ void LocalUser::SetClass(const std::string &explicit_name) continue; } - if (regdone && !c->config->getString("pass").empty()) + if (regdone && !c->config->getString("password").empty()) { - if (ServerInstance->PassCompare(this, c->config->getString("pass"), password, c->config->getString("hash"))) + if (ServerInstance->PassCompare(this, c->config->getString("password"), password, c->config->getString("hash"))) { ServerInstance->Logs->Log("CONNECTCLASS", DEBUG, "Bad password, skipping"); continue; -- 2.39.5