diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-06-18 08:14:05 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-06-18 08:14:05 +0200 |
commit | f09313f08b8a580823f6aeced57cf790da28c11a (patch) | |
tree | 6962b34d64d8db9234a7d44839010a528628f28f | |
parent | 2261db4caac5b74a508d7146870d5a80c87ee5da (diff) | |
download | xK-f09313f08b8a580823f6aeced57cf790da28c11a.tar.gz xK-f09313f08b8a580823f6aeced57cf790da28c11a.tar.xz xK-f09313f08b8a580823f6aeced57cf790da28c11a.zip |
kike: always allow IRCops to change channel modes
-rw-r--r-- | kike.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1747,8 +1747,8 @@ mode_processor_next_param (struct mode_processor *self) static bool mode_processor_check_operator (struct mode_processor *self) { - if (self->user && ((self->user->modes & IRC_CHAN_MODE_OPERATOR) - || (self->c->mode & IRC_USER_MODE_OPERATOR))) + if ((self->user && (self->user->modes & IRC_CHAN_MODE_OPERATOR)) + || (self->c->mode & IRC_USER_MODE_OPERATOR)) return true; irc_send_reply (self->c, IRC_ERR_CHANOPRIVSNEEDED, self->channel->name); |