From fa3c7849d3ab085cdb31ea2fa846436d7ed5f642 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 8 Mar 2026 20:20:58 +0000 Subject: Make the ban checking functions able to check any list mode. --- modules/services.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/services.cpp') diff --git a/modules/services.cpp b/modules/services.cpp index 6097f36ba..bd6c46056 100644 --- a/modules/services.cpp +++ b/modules/services.cpp @@ -284,7 +284,7 @@ public: Modes::ChangeList changelist; for (const auto& entry : *list) { - if (c->CheckBan(u, entry.mask, full)) + if (c->CheckListEntry(mh, u, entry.mask, full)) changelist.push(mh, false, entry.mask); } ServerInstance->Modes.Process(user, c, nullptr, changelist); -- cgit v1.3.1-10-gc9f91