From e276c7084d4d330370454adfea40679e9c3cd874 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 5 Apr 2025 13:16:24 +0100 Subject: Add the new hashing interface, port consumer modules to use it. --- src/users.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/users.cpp') 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; // - return !password.empty() && InspIRCd::CheckPassword(password, passwordhash, pw); + return !password.empty() && Hash::CheckPassword(password, passwordhash, pw); } -- cgit v1.3.1-10-gc9f91