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_nonotice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_nonotice.cpp') diff --git a/src/modules/m_nonotice.cpp b/src/modules/m_nonotice.cpp index cb722d74c..c52a6e57a 100644 --- a/src/modules/m_nonotice.cpp +++ b/src/modules/m_nonotice.cpp @@ -53,7 +53,7 @@ public: { Channel* c = target.Get(); - ModResult res = CheckExemption::Call(exemptionprov, user, c, "nonotice"); + ModResult res = exemptionprov.Check(user, c, "nonotice"); if (res == MOD_RES_ALLOW) return MOD_RES_PASSTHRU; -- cgit v1.3.1-10-gc9f91