summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt Schatz <genius3000@g3k.solutions>2020-07-03 10:35:38 -0600
committerMatt Schatz <genius3000@g3k.solutions>2020-07-03 13:24:33 -0600
commit7586cb54da300924f92d4b7b8c121ecabb5e7126 (patch)
tree9161b885bf6a802d0648bb1ffb8ca9d1f8e35790 /src
parentead0f04360ca3a0dda419d01af8d7e26ccdbe772 (diff)
Fix DNSBL connect class matching.
A user that is not marked by a DNSBL should never match a class that requires a DNSBL marking. Thanks to @kylef for reporting this on IRC.
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_dnsbl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp
index 90d1f50e2..32e05aebd 100644
--- a/src/modules/m_dnsbl.cpp
+++ b/src/modules/m_dnsbl.cpp
@@ -435,7 +435,7 @@ class ModuleDNSBL : public Module, public Stats::EventListener
std::string* match = nameExt.get(user);
if (!match)
- return MOD_RES_PASSTHRU;
+ return MOD_RES_DENY;
if (InspIRCd::Match(*match, dnsbl))
return MOD_RES_PASSTHRU;