diff options
| author | 2022-12-10 15:22:15 +0000 | |
|---|---|---|
| committer | 2022-12-10 15:22:15 +0000 | |
| commit | 86b4a0853e41f02d1b004a94cc64749b0a3a0ff4 (patch) | |
| tree | f9d998725d524eddbae5652fbe0323e0cf715711 /src/users.cpp | |
| parent | Allow modules to ignore any checks from OnPreOperLogin. (diff) | |
Remove the unused Extensible* parameter to PassCompare/OnPassCompare.
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index b0185be84..50421114e 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1096,7 +1096,7 @@ void LocalUser::SetClass(const std::string& explicit_name) continue; } - if (conndone && !c->password.empty() && !ServerInstance->PassCompare(this, c->password, password, c->passwordhash)) + if (conndone && !c->password.empty() && !ServerInstance->PassCompare(c->password, password, c->passwordhash)) { ServerInstance->Logs.Debug("CONNECTCLASS", "The %s connect class is not suitable as requires a password and %s", c->GetName().c_str(), password.empty() ? "one was not provided" : "the provided password was incorrect"); |
