From c7690513cdf317f9221cedf4892facdd100ef74d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 10 Nov 2020 22:23:26 +0000 Subject: Convert FIRST_MOD_RESULT_CUSTOM to a variadic function. --- include/modules/exemption.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/modules') diff --git a/include/modules/exemption.h b/include/modules/exemption.h index 9319c4737..a0e32e9e0 100644 --- a/include/modules/exemption.h +++ b/include/modules/exemption.h @@ -69,7 +69,5 @@ class CheckExemption::EventProvider inline ModResult CheckExemption::Call(const CheckExemption::EventProvider& prov, User* user, Channel* chan, const std::string& restriction) { - ModResult result; - FIRST_MOD_RESULT_CUSTOM(prov, CheckExemption::EventListener, OnCheckExemption, result, (user, chan, restriction)); - return result; + return prov.FirstResult(&CheckExemption::EventListener::OnCheckExemption, user, chan, restriction); } -- cgit v1.3.1-10-gc9f91