diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/channel_mode.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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 ? |