]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_dnsbl.cpp
Add ConfigTag::getUInt for reading unsigned config values.
[user/henk/code/inspircd.git] / src / modules / m_dnsbl.cpp
index 377cad9ddb01e4fc30ba6e986b0437e791e42bbd..16694de932fe937278123c6c98cbd234289f282e 100644 (file)
@@ -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
                        {