From 86b4a0853e41f02d1b004a94cc64749b0a3a0ff4 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 10 Dec 2022 15:22:15 +0000 Subject: Remove the unused Extensible* parameter to PassCompare/OnPassCompare. --- 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 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"); -- cgit v1.3.1-10-gc9f91