diff options
| author | 2023-01-05 00:41:04 +0000 | |
|---|---|---|
| committer | 2023-01-05 00:41:04 +0000 | |
| commit | d7182c584ceed0fcca133660aa957f1c414b20eb (patch) | |
| tree | fd0d6395cd6e94bd9069792d9bbeb5c1f6fa7b71 /src/modules/m_dnsbl.cpp | |
| parent | Allow specifying milliseconds and a timespec in the server-time API. (diff) | |
Add a helper class for creating a reference to a DNS manager.
Diffstat (limited to 'src/modules/m_dnsbl.cpp')
| -rw-r--r-- | src/modules/m_dnsbl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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::Manager> 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) { |
