From b7b72521a7066f7694fdcc78702936fae4b11894 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 11 Jan 2023 00:37:09 +0000 Subject: Fix calling various static functions through a type instance. --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index ed2d00112..c6e8ce867 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1272,5 +1272,5 @@ bool OperAccount::CanAutoLogin(LocalUser* user) const bool OperAccount::CheckPassword(const std::string& pw) const { - return ServerInstance->PassCompare(password, pw, passwordhash); + return InspIRCd::PassCompare(password, pw, passwordhash); } -- cgit v1.3.1-10-gc9f91