aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_sqlauth.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2019-02-07 12:16:33 +0000
committerGravatar Sadie Powell2019-02-07 12:16:33 +0000
commit641b2d07ab6868a9fa6726c1bc36cde80005e155 (patch)
tree00f6f16cef0464477d4a890b3c21793557c2c537 /src/modules/m_sqlauth.cpp
parentModeParser: remove fakederef. (diff)
ModuleManager: remove fakederef.
Diffstat (limited to 'src/modules/m_sqlauth.cpp')
-rw-r--r--src/modules/m_sqlauth.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_sqlauth.cpp b/src/modules/m_sqlauth.cpp
index 016a9d918..c3dee7130 100644
--- a/src/modules/m_sqlauth.cpp
+++ b/src/modules/m_sqlauth.cpp
@@ -57,7 +57,7 @@ class AuthQuery : public SQL::Query
{
if (!kdf.empty())
{
- HashProvider* hashprov = ServerInstance->Modules->FindDataService<HashProvider>("hash/" + kdf);
+ HashProvider* hashprov = ServerInstance->Modules.FindDataService<HashProvider>("hash/" + kdf);
if (!hashprov)
{
if (verbose)
@@ -185,7 +185,7 @@ class ModuleSQLAuth : public Module
for (std::vector<std::string>::const_iterator it = hash_algos.begin(); it != hash_algos.end(); ++it)
{
- HashProvider* hashprov = ServerInstance->Modules->FindDataService<HashProvider>("hash/" + *it);
+ HashProvider* hashprov = ServerInstance->Modules.FindDataService<HashProvider>("hash/" + *it);
if (hashprov && !hashprov->IsKDF())
userinfo[*it + "pass"] = hashprov->Generate(user->password);
}