From 68c55033e0d5b4dee212117bf789c58cccda078a Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Wed, 31 Mar 2010 11:34:04 -0500 Subject: Allow E:lines to make users exempt from DNSBL checks --- src/modules/m_dnsbl.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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; -- cgit v1.2.3