diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-05-30 17:43:07 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-05-30 17:43:07 +0000 |
commit | a9ffbf81ad7177fd032b585c9898a4b27377361b (patch) | |
tree | 3a70afff2708bc926744838a7f7be6e656540462 /modules | |
parent | 70536762f6d49857b7e12f0a51dea429be281def (diff) |
- m_kick.c:m_kick(): channel halfops (%) may now no longer KICK other channel halfops
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3715 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules')
-rw-r--r-- | modules/core/m_kick.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/core/m_kick.c b/modules/core/m_kick.c index 3d9bfd5..888b7d8 100644 --- a/modules/core/m_kick.c +++ b/modules/core/m_kick.c @@ -148,8 +148,7 @@ m_kick(struct Client *client_p, struct Client *source_p, /* half ops cannot kick other halfops on private channels */ if (has_member_flags(ms_source, CHFL_HALFOP) && !has_member_flags(ms_source, CHFL_CHANOP)) { - if (((chptr->mode.mode & MODE_PRIVATE) && has_member_flags(ms_target, - CHFL_CHANOP|CHFL_HALFOP)) || has_member_flags(ms_target, CHFL_CHANOP)) + if (has_member_flags(ms_target, CHFL_CHANOP|CHFL_HALFOP)) { sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED), me.name, source_p->name, chptr->chname); |