diff options
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 4 |
1 files 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; |