diff options
author | Daniel De Graaf <danieldg@inspircd.org> | 2010-03-31 11:34:04 -0500 |
---|---|---|
committer | Daniel De Graaf <danieldg@inspircd.org> | 2010-03-31 11:34:04 -0500 |
commit | 68c55033e0d5b4dee212117bf789c58cccda078a (patch) | |
tree | 146af442907af326ce090008d8ef3845d9ad408e | |
parent | 66b3ba75d015d21cc05686342693a59db334877b (diff) |
Allow E:lines to make users exempt from DNSBL checks
-rw-r--r-- | src/modules/m_dnsbl.cpp | 3 |
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; |