From d7182c584ceed0fcca133660aa957f1c414b20eb Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 5 Jan 2023 00:41:04 +0000 Subject: Add a helper class for creating a reference to a DNS manager. --- src/modules/m_dnsbl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_dnsbl.cpp') diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp index 4ccc959be..85480d3b5 100644 --- a/src/modules/m_dnsbl.cpp +++ b/src/modules/m_dnsbl.cpp @@ -170,7 +170,7 @@ class SharedData final { public: // Reference to the DNS manager. - dynamic_reference dns; + DNS::ManagerRef dns; // Counts the number of DNSBL lookups waiting for this user. IntExtItem countext; @@ -179,7 +179,7 @@ public: MarkExtItem markext; SharedData(Module* mod) - : dns(mod, "DNS") + : dns(mod) , countext(mod, "dnsbl-pending", ExtensionType::USER) , markext(mod, "dnsbl-match", ExtensionType::USER) { -- cgit v1.3.1-10-gc9f91