diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-05-30 16:45:52 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-05-30 16:45:52 +0000 |
commit | 753d65c54b9d5aa920b7994c8e1e97a0a8f3cd88 (patch) | |
tree | bc6e499af9ff162d8b2be3eabb091b901f26444a | |
parent | c9cc03d3c7e6bc17edc147fe59af5f3fd33a051e (diff) |
- 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
-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 ? |