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_regex_stdlib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_regex_stdlib.cpp') diff --git a/src/modules/m_regex_stdlib.cpp b/src/modules/m_regex_stdlib.cpp index db59fe6a1..e59f18f46 100644 --- a/src/modules/m_regex_stdlib.cpp +++ b/src/modules/m_regex_stdlib.cpp @@ -87,7 +87,7 @@ class ModuleRegexStdLib : public Module void ReadConfig(ConfigStatus& status) override { - ConfigTag* tag = ServerInstance->Config->ConfValue("stdregex"); + auto tag = ServerInstance->Config->ConfValue("stdregex"); regex.regextype = tag->getEnum("type", std::regex::ECMAScript, { { "awk", std::regex::awk }, -- cgit v1.3.1-10-gc9f91