diff options
Diffstat (limited to 'src/modules/m_opmoderated.cpp')
| -rw-r--r-- | src/modules/m_opmoderated.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_opmoderated.cpp b/src/modules/m_opmoderated.cpp index dc809fa47..2ef9774c3 100644 --- a/src/modules/m_opmoderated.cpp +++ b/src/modules/m_opmoderated.cpp @@ -50,7 +50,7 @@ private: return MOD_RES_PASSTHRU; // Check for channel members who are exempted by a module. - if (CheckExemption::Call(exemptionprov, user, chan, "opmoderated") == MOD_RES_ALLOW) + if (exemptionprov.Check(user, chan, "opmoderated") == MOD_RES_ALLOW) return MOD_RES_PASSTHRU; if (!extban.GetStatus(user, chan).check(!chan->IsModeSet(mode))) |
