diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_dnsbl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp index 6c08655bb..1cd08024b 100644 --- a/src/modules/m_dnsbl.cpp +++ b/src/modules/m_dnsbl.cpp @@ -70,7 +70,7 @@ class DNSBLResolver : public Resolver * YOUR CRACKPIPE. you know who you are. -- Brain */ inet_aton(result.c_str(), &resultip); - bitmask = resultip.s_addr & 0xFF; /* Last octet (network byte order */ + bitmask = resultip.s_addr >> 24; /* Last octet (network byte order */ bitmask &= ConfEntry->bitmask; |