aboutsummaryrefslogtreecommitdiff
path: root/include/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-11-10 22:23:26 +0000
committerGravatar Sadie Powell2020-11-10 22:23:26 +0000
commitc7690513cdf317f9221cedf4892facdd100ef74d (patch)
tree68ef30e051e99dcd2d9855e410806f2630e86f55 /include/modules
parentOnly use libc++ when building with AppleClang. (diff)
Convert FIRST_MOD_RESULT_CUSTOM to a variadic function.
Diffstat (limited to 'include/modules')
-rw-r--r--include/modules/exemption.h4
1 files changed, 1 insertions, 3 deletions
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);
}