summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel De Graaf <danieldg@inspircd.org>2010-03-31 11:34:04 -0500
committerDaniel De Graaf <danieldg@inspircd.org>2010-03-31 11:34:04 -0500
commit68c55033e0d5b4dee212117bf789c58cccda078a (patch)
tree146af442907af326ce090008d8ef3845d9ad408e
parent66b3ba75d015d21cc05686342693a59db334877b (diff)
Allow E:lines to make users exempt from DNSBL checks
-rw-r--r--src/modules/m_dnsbl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp
index 5b925d26d..d12da9dc6 100644
--- a/src/modules/m_dnsbl.cpp
+++ b/src/modules/m_dnsbl.cpp
@@ -340,6 +340,9 @@ class ModuleDNSBL : public Module
void OnUserInit(LocalUser* user)
{
+ if (user->exempt)
+ return;
+
/* following code taken from bopm, reverses an IP address. */
struct in_addr in;
unsigned char a, b, c, d;