From 54eae2619c6227c78d624e09a05d41ca51a26f77 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 12 Feb 2026 13:17:53 +0000 Subject: Remove InValidMask as it only has one unnecessary use. --- modules/dccallow.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'modules/dccallow.cpp') diff --git a/modules/dccallow.cpp b/modules/dccallow.cpp index dd71f4a1d..71626bef4 100644 --- a/modules/dccallow.cpp +++ b/modules/dccallow.cpp @@ -292,7 +292,6 @@ public: } } - std::string mask = target->GetMask(); unsigned long length; if (parameters.size() < 2) { @@ -312,12 +311,7 @@ public: } } - if (!InspIRCd::IsValidMask(mask)) - { - return CmdResult::FAILURE; - } - - dl->emplace_back(target->nick, mask, ServerInstance->Time(), length); + dl->emplace_back(target->nick, target->GetMask(), ServerInstance->Time(), length); if (length > 0) { -- cgit v1.3.1-10-gc9f91