aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-04-05 13:16:24 +0100
committerGravatar Sadie Powell2025-04-06 00:35:36 +0100
commite276c7084d4d330370454adfea40679e9c3cd874 (patch)
treed346b73752c858a060a8cb20cf0b8fdaa4f69c87 /src/users.cpp
parentRequire 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.cpp3
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);
}