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_account.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_account.cpp') diff --git a/src/modules/m_account.cpp b/src/modules/m_account.cpp index 9db381d28..b33d98c14 100644 --- a/src/modules/m_account.cpp +++ b/src/modules/m_account.cpp @@ -239,7 +239,7 @@ public: if (!targetchan->IsModeSet(regmoderatedmode) || account) return MOD_RES_PASSTHRU; - if (CheckExemption::Call(exemptionprov, user, targetchan, "regmoderated") == MOD_RES_ALLOW) + if (exemptionprov.Check(user, targetchan, "regmoderated") == MOD_RES_ALLOW) return MOD_RES_PASSTHRU; // User is messaging a +M channel and is not registered or exempt. -- cgit v1.3.1-10-gc9f91