summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-05-30 17:45:08 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-05-30 17:45:08 +0000
commit66656c13bd16497031517100e684fffda4e9f006 (patch)
treec4bb143bf41833b2f0d7aac414db11efecaec795
parenta9ffbf81ad7177fd032b585c9898a4b27377361b (diff)
- channel_mode.c:chm_simple(): channel halfops may now set +p
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3718 82007160-df01-0410-b94d-b575c5fd34c7
-rw-r--r--src/channel_mode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/channel_mode.c b/src/channel_mode.c
index 8c10c39..f23bac4 100644
--- a/src/channel_mode.c
+++ b/src/channel_mode.c
@@ -514,8 +514,7 @@ chm_simple(struct Client *client_p, struct Client *source_p, struct Channel *chp
int parc, int *parn, char **parv, int *errors, int alev, int dir,
char c, unsigned int d)
{
- if ((alev < CHACCESS_HALFOP) ||
- ((d == MODE_PRIVATE) && (alev < CHACCESS_CHANOP)))
+ if (alev < CHACCESS_HALFOP)
{
if (!(*errors & SM_ERR_NOOPS))
sendto_one(source_p, form_str(alev == CHACCESS_NOTONCHAN ?