diff options
| author | 2025-04-05 13:16:24 +0100 | |
|---|---|---|
| committer | 2025-04-06 00:35:36 +0100 | |
| commit | e276c7084d4d330370454adfea40679e9c3cd874 (patch) | |
| tree | d346b73752c858a060a8cb20cf0b8fdaa4f69c87 /src/users.cpp | |
| parent | Require an exact server name in <sasl:target>. (diff) | |
Add the new hashing interface, port consumer modules to use it.
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index 29de4a48a..c8c700bfb 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -30,6 +30,7 @@ #include "inspircd.h" #include "clientprotocolevent.h" +#include "modules/newhash.h" #include "utility/string.h" #include "xline.h" @@ -1327,5 +1328,5 @@ bool OperAccount::CheckPassword(const std::string& pw) const if (nopassword) return true; // <oper nopassword="yes"> - return !password.empty() && InspIRCd::CheckPassword(password, passwordhash, pw); + return !password.empty() && Hash::CheckPassword(password, passwordhash, pw); } |
