diff options
Diffstat (limited to 'src/modules/m_repeat.cpp')
-rw-r--r-- | src/modules/m_repeat.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_repeat.cpp b/src/modules/m_repeat.cpp index 6c34648e0..aa7dc762b 100644 --- a/src/modules/m_repeat.cpp +++ b/src/modules/m_repeat.cpp @@ -369,8 +369,7 @@ class RepeatModule : public Module if (!memb) return MOD_RES_PASSTHRU; - ModResult res; - FIRST_MOD_RESULT_CUSTOM(exemptionprov, CheckExemption::EventListener, OnCheckExemption, res, (user, chan, "repeat")); + ModResult res = CheckExemption::Call(exemptionprov, user, chan, "repeat"); if (res == MOD_RES_ALLOW) return MOD_RES_PASSTHRU; |