diff options
| author | 2020-11-10 22:23:26 +0000 | |
|---|---|---|
| committer | 2020-11-10 22:23:26 +0000 | |
| commit | c7690513cdf317f9221cedf4892facdd100ef74d (patch) | |
| tree | 68ef30e051e99dcd2d9855e410806f2630e86f55 /include/modules/exemption.h | |
| parent | Only use libc++ when building with AppleClang. (diff) | |
Convert FIRST_MOD_RESULT_CUSTOM to a variadic function.
Diffstat (limited to 'include/modules/exemption.h')
| -rw-r--r-- | include/modules/exemption.h | 4 |
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); } |
