diff options
| author | 2018-04-14 15:43:03 +0100 | |
|---|---|---|
| committer | 2018-04-16 15:29:55 +0100 | |
| commit | 780dda83ba3857bc3c330d4b5d38bb251a9d879b (patch) | |
| tree | 75034915142a3e1362f0f9d59c8e96e1eec22931 /src/modules/m_dnsbl.cpp | |
| parent | Convert ConfigTag::getDuration to return an unsigned long. (diff) | |
| download | inspircd++-780dda83ba3857bc3c330d4b5d38bb251a9d879b.tar.gz inspircd++-780dda83ba3857bc3c330d4b5d38bb251a9d879b.tar.bz2 inspircd++-780dda83ba3857bc3c330d4b5d38bb251a9d879b.zip | |
Add ConfigTag::getUInt for reading unsigned config values.
Diffstat (limited to 'src/modules/m_dnsbl.cpp')
| -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 377cad9dd..16694de93 100644 --- a/src/modules/m_dnsbl.cpp +++ b/src/modules/m_dnsbl.cpp @@ -281,7 +281,7 @@ class ModuleDNSBL : public Module, public Stats::EventListener if (tag->getString("type") == "bitmask") { e->type = DNSBLConfEntry::A_BITMASK; - e->bitmask = tag->getInt("bitmask", 0, 0, UINT_MAX); + e->bitmask = tag->getUInt("bitmask", 0, 0, UINT_MAX); } else { |
