summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;