aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_delaymsg.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-01-25 03:43:40 +0000
committerGravatar Sadie Powell2023-01-25 03:43:40 +0000
commit4472683dc7d321eaee30aae715a71b32342dffd4 (patch)
tree71e136985e1b6b2e68f0fc7f2888e5f38eaa0d0e /src/modules/m_delaymsg.cpp
parentFix using std::max instead of std::min when clamping NetBufferSize. (diff)
Move CheckExemption::Call to CheckExemption::EventProvider.
Now FirstResult not a macro there's no need for this to be a free function.
Diffstat (limited to 'src/modules/m_delaymsg.cpp')
-rw-r--r--src/modules/m_delaymsg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_delaymsg.cpp b/src/modules/m_delaymsg.cpp
index 97c2f22e0..5aa734b1f 100644
--- a/src/modules/m_delaymsg.cpp
+++ b/src/modules/m_delaymsg.cpp
@@ -136,7 +136,7 @@ ModResult ModuleDelayMsg::HandleMessage(User* user, const MessageTarget& target,
if ((ts + len) > ServerInstance->Time())
{
- ModResult res = CheckExemption::Call(exemptionprov, user, channel, "delaymsg");
+ ModResult res = exemptionprov.Check(user, channel, "delaymsg");
if (res == MOD_RES_ALLOW)
return MOD_RES_PASSTHRU;