summaryrefslogtreecommitdiff
path: root/src/modules/m_exemptchanops.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-09 15:18:06 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-09 15:18:06 +0000
commit37b9455f70ad2fd919aa83a2c96a1e4764a3b25a (patch)
tree7fe415328634ab3a78cedc628a7f36b133803337 /src/modules/m_exemptchanops.cpp
parentd1f2a430501aec8bc893647dc1049b8499e1caf6 (diff)
Allow exemptchanops to modify the channel access level needed to bypass +t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12413 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_exemptchanops.cpp')
-rw-r--r--src/modules/m_exemptchanops.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_exemptchanops.cpp b/src/modules/m_exemptchanops.cpp
index f4a8c5d5a..df5ec4bf3 100644
--- a/src/modules/m_exemptchanops.cpp
+++ b/src/modules/m_exemptchanops.cpp
@@ -125,6 +125,8 @@ class ModuleExemptChanOps : public Module
ModeHandler* mh = ServerInstance->Modes->FindMode(minmode, MODETYPE_CHANNEL);
if (mh && mypfx >= mh->GetPrefixRank())
return MOD_RES_ALLOW;
+ if (mh || minmode == '*')
+ return MOD_RES_DENY;
return MOD_RES_PASSTHRU;
}
};