From 4472683dc7d321eaee30aae715a71b32342dffd4 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 25 Jan 2023 03:43:40 +0000 Subject: Move CheckExemption::Call to CheckExemption::EventProvider. Now FirstResult not a macro there's no need for this to be a free function. --- src/modules/m_auditorium.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_auditorium.cpp') diff --git a/src/modules/m_auditorium.cpp b/src/modules/m_auditorium.cpp index 35ce62b1e..95cbb82eb 100644 --- a/src/modules/m_auditorium.cpp +++ b/src/modules/m_auditorium.cpp @@ -103,7 +103,7 @@ public: if (!memb->chan->IsModeSet(&aum)) return true; - ModResult res = CheckExemption::Call(exemptionprov, memb->user, memb->chan, "auditorium-vis"); + ModResult res = exemptionprov.Check(memb->user, memb->chan, "auditorium-vis"); return res.check(OpsVisible && memb->GetRank() >= OP_VALUE); } @@ -119,7 +119,7 @@ public: return true; // Can you see the list by permission? - ModResult res = CheckExemption::Call(exemptionprov, issuer, memb->chan, "auditorium-see"); + ModResult res = exemptionprov.Check(issuer, memb->chan, "auditorium-see"); return res.check(OpsCanSee && memb->chan->GetPrefixValue(issuer) >= OP_VALUE); } -- cgit v1.3.1-10-gc9f91