diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp index 9821d3bc6..58f1eee23 100644 --- a/src/modules/m_dnsbl.cpp +++ b/src/modules/m_dnsbl.cpp @@ -139,13 +139,16 @@ public: { "zline", Action::ZLINE }, }); - const std::string typestr = tag->getString("type"); + const std::string typestr = tag->getString("type", "record", 1); if (insp::equalsci(typestr, "bitmask")) { type = Type::BITMASK; bitmask = tag->getNum("bitmask", 0); records = 0; + + ServerInstance->Logs.Normal(MODNAME, " tag at {} specifies a bitmask. This is deprecated and will be removed in the next major version of InspIRCd, consider migrating to records instead.", + tag->source.str()); } else if (insp::equalsci(typestr, "record")) {