diff options
| author | 2010-03-06 21:54:36 -0600 | |
|---|---|---|
| committer | 2010-08-03 17:32:39 -0400 | |
| commit | 4e3d60e8cee7edfc0f8b0b5b239b22e8ac5d8aa7 (patch) | |
| tree | 332d6b554a2d296a21cf68a188847db3c7177c2d /src/modules/m_exemptchanops.cpp | |
| parent | Fix override permission checking the wrong list (diff) | |
Add m_chanacl, channel access control groups
Diffstat (limited to 'src/modules/m_exemptchanops.cpp')
| -rw-r--r-- | src/modules/m_exemptchanops.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_exemptchanops.cpp b/src/modules/m_exemptchanops.cpp index 33199a829..ec91cb709 100644 --- a/src/modules/m_exemptchanops.cpp +++ b/src/modules/m_exemptchanops.cpp @@ -72,6 +72,11 @@ class ModuleExemptChanOps : public Module OnRehash(NULL); } + void Prioritize() + { + ServerInstance->Modules->SetPriority(this, I_OnPermissionCheck, PRIORITY_AFTER, ServerInstance->Modules->Find("m_opflags.so")); + } + void OnPermissionCheck(PermissionData& perm) { if (perm.name.substr(0,7) != "exempt/" || perm.result != MOD_RES_PASSTHRU) |
