aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_anticaps.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_anticaps.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_anticaps.cpp')
-rw-r--r--src/modules/m_anticaps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_anticaps.cpp b/src/modules/m_anticaps.cpp
index 874ae07d3..fad0421fc 100644
--- a/src/modules/m_anticaps.cpp
+++ b/src/modules/m_anticaps.cpp
@@ -222,7 +222,7 @@ public:
// If the user is exempt from anticaps then we don't need
// to do anything else.
- ModResult result = CheckExemption::Call(exemptionprov, user, channel, "anticaps");
+ ModResult result = exemptionprov.Check(user, channel, "anticaps");
if (result == MOD_RES_ALLOW)
return MOD_RES_PASSTHRU;