From a3e736de1d3b6423e88b58506c0bfbe89dec3bd3 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 16 Apr 2025 12:13:11 +0100 Subject: Add . --- modules/banexception.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/banexception.cpp') diff --git a/modules/banexception.cpp b/modules/banexception.cpp index 3c743b5d9..c606ac440 100644 --- a/modules/banexception.cpp +++ b/modules/banexception.cpp @@ -91,7 +91,7 @@ public: tokens["EXCEPTS"] = ConvToStr(be.GetModeChar()); } - ModResult OnExtBanCheck(User* user, Channel* chan, ExtBan::Base* extban) override + ModResult OnExtBanCheck(User* user, Channel* chan, ExtBan::Base* extban, bool full) override { ListModeBase::ModeList* list = be.GetList(chan); if (!list) @@ -118,12 +118,12 @@ public: continue; } - return extban->IsMatch(user, chan, value) != inverted ? MOD_RES_ALLOW : MOD_RES_PASSTHRU; + return extban->IsMatch(user, chan, value, full) != inverted ? MOD_RES_ALLOW : MOD_RES_PASSTHRU; } return MOD_RES_PASSTHRU; } - ModResult OnCheckChannelBan(User* user, Channel* chan) override + ModResult OnCheckChannelBan(User* user, Channel* chan, bool full) override { ListModeBase::ModeList* list = be.GetList(chan); if (!list) @@ -134,7 +134,7 @@ public: for (const auto& entry : *list) { - if (chan->CheckBan(user, entry.mask)) + if (chan->CheckBan(user, entry.mask, full)) { // They match an entry on the list, so let them in. return MOD_RES_ALLOW; -- cgit v1.3.1-10-gc9f91