From af8effe4f0876d6fa934806745712f679bd36278 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 24 Jan 2023 23:41:50 +0000 Subject: Replace getInt/getUInt/getFloat with type safe templated functions. --- src/modules/m_dnsbl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_dnsbl.cpp') diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp index 556a5339d..3d6a5074e 100644 --- a/src/modules/m_dnsbl.cpp +++ b/src/modules/m_dnsbl.cpp @@ -134,7 +134,7 @@ public: { type = Type::BITMASK; - bitmask = static_cast(tag->getUInt("bitmask", 0, 0, UINT_MAX)); + bitmask = tag->getNum("bitmask", 0); records = 0; } else if (stdalgo::string::equalsci(typestr, "record")) -- cgit v1.3.1-10-gc9f91