From 1b181b42b82213c884e8aac3a620252102992439 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 31 Oct 2020 23:21:15 +0000 Subject: Convert ConfigTag from reference<> to std::shared_ptr<>. --- src/modules/m_bcrypt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_bcrypt.cpp') diff --git a/src/modules/m_bcrypt.cpp b/src/modules/m_bcrypt.cpp index 2050b94ae..a47ce8f36 100644 --- a/src/modules/m_bcrypt.cpp +++ b/src/modules/m_bcrypt.cpp @@ -86,7 +86,7 @@ class ModuleBCrypt : public Module void ReadConfig(ConfigStatus& status) override { - ConfigTag* conf = ServerInstance->Config->ConfValue("bcrypt"); + auto conf = ServerInstance->Config->ConfValue("bcrypt"); bcrypt.rounds = conf->getUInt("rounds", 10, 1); } }; -- cgit v1.3.1-10-gc9f91