aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_anticaps.cpp
diff options
context:
space:
mode:
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;