summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Daniel De Graaf2010-03-31 11:47:39 -0500
committerGravatar Daniel De Graaf2010-03-31 11:47:39 -0500
commit9ca7bcdddb1670da2d04df806f412668f2956091 (patch)
tree2f07d52e57e8c281fcc6265131473eb6fa46298f
parentAdd debouncing to m_cloaking, and fix cloak of hosts without dots (diff)
Allow E:lines to make users exempt from DNSBL checks
-rw-r--r--src/modules/m_dnsbl.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp
index 7fb652cf7..6040a1f65 100644
--- a/src/modules/m_dnsbl.cpp
+++ b/src/modules/m_dnsbl.cpp
@@ -307,8 +307,7 @@ class ModuleDNSBL : public Module
virtual int OnUserRegister(User* user)
{
- /* only do lookups on local users */
- if (IS_LOCAL(user))
+ if (IS_LOCAL(user) && !user->exempt)
{
/* following code taken from bopm, reverses an IP address. */
struct in_addr in;