diff options
| author | 2023-01-25 03:43:40 +0000 | |
|---|---|---|
| committer | 2023-01-25 03:43:40 +0000 | |
| commit | 4472683dc7d321eaee30aae715a71b32342dffd4 (patch) | |
| tree | 71e136985e1b6b2e68f0fc7f2888e5f38eaa0d0e /src/modules/m_account.cpp | |
| parent | Fix using std::max instead of std::min when clamping NetBufferSize. (diff) | |
| download | inspircd++-4472683dc7d321eaee30aae715a71b32342dffd4.tar.gz inspircd++-4472683dc7d321eaee30aae715a71b32342dffd4.tar.bz2 inspircd++-4472683dc7d321eaee30aae715a71b32342dffd4.zip | |
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_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. |
