From a247b41516db5c0bf625f98a7198054edb34bcc2 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 12 Jul 2023 12:24:07 +0100 Subject: Fix sending the wrong message when a user requests stats. Closes #2051. --- src/modules/m_dnsbl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_dnsbl.cpp') diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp index 4c828e6ac..57ab49442 100644 --- a/src/modules/m_dnsbl.cpp +++ b/src/modules/m_dnsbl.cpp @@ -658,7 +658,7 @@ public: stats.AddGenericRow("Total DNSBL hits: " + ConvToStr(total_hits)); stats.AddGenericRow("Total DNSBL misses: " + ConvToStr(total_misses)); stats.AddGenericRow("Total DNSBL errors: " + ConvToStr(total_errors)); - return MOD_RES_PASSTHRU; + return MOD_RES_DENY; } }; -- cgit v1.3.1-10-gc9f91