summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-11-01 17:31:40 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-11-01 17:31:40 +0000
commitbfe4bf12b1a185b9903921295696ec1ce4642f57 (patch)
treee966a09f067c3b33e42cd299c37f3e06f2d42e93 /src
parent1a34e54e2946fb8abd9fcb2bd92b8f44e708b6c8 (diff)
Fix bug #630, reported by Jorijn, fix by dz. Bitmask dnsbl records not working. Thanks!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10777 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_dnsbl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp
index 1ec9879ae..524cab58d 100644
--- a/src/modules/m_dnsbl.cpp
+++ b/src/modules/m_dnsbl.cpp
@@ -261,7 +261,7 @@ class ModuleDNSBL : public Module
/* Use portparser for record replies */
/* yeah, logic here is a little messy */
- if (e->bitmask <= 0)
+ if ((e->bitmask <= 0) && (DNSBLConfEntry::A_BITMASK == e->type))
{
ServerInstance->SNO->WriteToSnoMask('A', "DNSBL(#%d): invalid bitmask",i);
}