From 753d65c54b9d5aa920b7994c8e1e97a0a8f3cd88 Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 30 May 2014 16:45:52 +0000 Subject: - irc-operators may now no longer set a channel +O if they are only halfops (%) git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3709 82007160-df01-0410-b94d-b575c5fd34c7 --- NEWS | 1 + src/channel_mode.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 4e8c3c3..aeef9d0 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,7 @@ o) Fixed CAP issue for certain clients o) Fixed bug where "STATS p" would show an invalid amount of irc-operators in case there are +H opers +o) irc-operators may now no longer set a channel +O if they are only halfops (%) -- Noteworthy changes in version 8.1.17 (2014-05-01) diff --git a/src/channel_mode.c b/src/channel_mode.c index 65ad9cb..1d057d2 100644 --- a/src/channel_mode.c +++ b/src/channel_mode.c @@ -629,7 +629,7 @@ chm_operonly(struct Client *client_p, struct Client *source_p, struct Channel *c int parc, int *parn, char **parv, int *errors, int alev, int dir, char c, unsigned int d) { - if (alev < CHACCESS_HALFOP) + if (alev < CHACCESS_CHANOP) { if (!(*errors & SM_ERR_NOOPS)) sendto_one(source_p, form_str(alev == CHACCESS_NOTONCHAN ? -- cgit