From f49ed93cd994259ef7e0cb801a4b6fb3607cc0fd Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 10 Jul 2024 14:12:28 +0100 Subject: Include the network name in the DroneBL example config. --- src/modules/m_dnsbl.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/modules/m_dnsbl.cpp') diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp index 93cec18a1..c0aa4aa21 100644 --- a/src/modules/m_dnsbl.cpp +++ b/src/modules/m_dnsbl.cpp @@ -366,9 +366,10 @@ public: if (match) { const std::string reason = Template::Replace(config->reason, { - { "dnsbl", config->name }, - { "ip", them->GetAddress() }, - { "result", ConvToStr(result) }, + { "dnsbl", config->name }, + { "ip", them->GetAddress() }, + { "network", ServerInstance->Config->Network }, + { "result", ConvToStr(result) }, }); config->stats_hits++; -- cgit v1.3.1-10-gc9f91