diff options
Diffstat (limited to 'src/modules/m_account.cpp')
| -rw-r--r-- | src/modules/m_account.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_account.cpp b/src/modules/m_account.cpp index 9db381d28..b33d98c14 100644 --- a/src/modules/m_account.cpp +++ b/src/modules/m_account.cpp @@ -239,7 +239,7 @@ public: if (!targetchan->IsModeSet(regmoderatedmode) || account) return MOD_RES_PASSTHRU; - if (CheckExemption::Call(exemptionprov, user, targetchan, "regmoderated") == MOD_RES_ALLOW) + if (exemptionprov.Check(user, targetchan, "regmoderated") == MOD_RES_ALLOW) return MOD_RES_PASSTHRU; // User is messaging a +M channel and is not registered or exempt. |
