diff options
author | Peter Powell <petpow@saberuk.com> | 2017-07-09 22:36:40 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-07-09 22:45:00 +0100 |
commit | c0aba5b728b0a921d95ec120aa638dab1520b42f (patch) | |
tree | 5470b2e12cc40ba8ea5cafe36fc254c73192cb48 /src/modules/m_override.cpp | |
parent | e97ee390cf1a3f5e897aed85d62e29a34c4632f9 (diff) | |
parent | b7facc2474ff5fb229c66ed130ed67207620f55d (diff) |
Merge v2.0.23 and v2.0.24 into master.
Diffstat (limited to 'src/modules/m_override.cpp')
-rw-r--r-- | src/modules/m_override.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp index 9cfc3aed0..fd09dd6ec 100644 --- a/src/modules/m_override.cpp +++ b/src/modules/m_override.cpp @@ -121,7 +121,8 @@ class ModuleOverride : public Module if (source->IsOper() && CanOverride(source,"KICK")) { // If the kicker's status is less than the target's, or the kicker's status is less than or equal to voice - if ((memb->chan->GetPrefixValue(source) < memb->getRank()) || (memb->chan->GetPrefixValue(source) <= VOICE_VALUE)) + if ((memb->chan->GetPrefixValue(source) < memb->getRank()) || (memb->chan->GetPrefixValue(source) <= VOICE_VALUE) || + (memb->chan->GetPrefixValue(source) == HALFOP_VALUE && memb->getRank() == HALFOP_VALUE)) { ServerInstance->SNO->WriteGlobalSno('v',source->nick+" used oper override to kick "+memb->user->nick+" on "+memb->chan->name+" ("+reason+")"); return MOD_RES_ALLOW; |