diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2016-06-05 14:16:36 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2016-06-05 17:47:56 +0100 |
commit | 4f57d083c810f57edc0fe449b0de1f48e402107b (patch) | |
tree | 16b151f653454b48643b28a5ef6c14034e167f60 /src/channel.c | |
parent | 634111fc07826dcf7f1f408c5186dc9f842d2a5c (diff) |
Add global channel operator support
Diffstat (limited to 'src/channel.c')
-rw-r--r-- | src/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channel.c b/src/channel.c index f000b7f..1feb5d1 100644 --- a/src/channel.c +++ b/src/channel.c @@ -750,7 +750,7 @@ can_send(struct Channel *chptr, struct Client *source_p, { struct MaskItem *conf = NULL; - if (IsServer(source_p) || HasFlag(source_p, FLAGS_SERVICE)) + if (IsServer(source_p) || HasFlag(source_p, FLAGS_SERVICE) || HasUMode(source_p, UMODE_GCHANOP)) return CAN_SEND_OPV; if (MyClient(source_p) && !IsExemptResv(source_p)) |