From: Daniel De Graaf Date: Wed, 31 Mar 2010 14:32:05 +0000 (-0500) Subject: Fix incorrectly reading X-Git-Tag: v2.0.23~912 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=66b3ba75d015d21cc05686342693a59db334877b;p=user%2Fhenk%2Fcode%2Finspircd.git Fix incorrectly reading --- 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;