diff options
author | Daniel De Graaf <danieldg@inspircd.org> | 2010-03-31 09:32:05 -0500 |
---|---|---|
committer | Daniel De Graaf <danieldg@inspircd.org> | 2010-03-31 09:32:06 -0500 |
commit | 66b3ba75d015d21cc05686342693a59db334877b (patch) | |
tree | 084f73a75a0b48c963c46cd1c3aaaa8f7271bd38 /src/users.cpp | |
parent | 24e5daf4f98aad6ebf4d97542e957b139377b1f5 (diff) |
Fix <connect:password> incorrectly reading <connect:pass>
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; |