From a9ffbf81ad7177fd032b585c9898a4b27377361b Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 30 May 2014 17:43:07 +0000 Subject: - 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 --- modules/core/m_kick.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules') 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); -- cgit