aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_nonotice.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_nonotice.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_nonotice.cpp')
-rw-r--r--src/modules/m_nonotice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_nonotice.cpp b/src/modules/m_nonotice.cpp
index cb722d74c..c52a6e57a 100644
--- a/src/modules/m_nonotice.cpp
+++ b/src/modules/m_nonotice.cpp
@@ -53,7 +53,7 @@ public:
{
Channel* c = target.Get<Channel>();
- ModResult res = CheckExemption::Call(exemptionprov, user, c, "nonotice");
+ ModResult res = exemptionprov.Check(user, c, "nonotice");
if (res == MOD_RES_ALLOW)
return MOD_RES_PASSTHRU;