summaryrefslogtreecommitdiff
path: root/src/channel.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2016-06-05 14:16:36 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2019-07-21 20:58:59 +0100
commit02b2a4ebcbd2eb71f7abaad36da2dc489c7c2d7c (patch)
tree2a3625f29859be965c7972f6fa131db0f9c9790b /src/channel.c
parent7a438c17063b92a23f9ab133a88097861a6f4527 (diff)
Add global channel operator support
Diffstat (limited to 'src/channel.c')
-rw-r--r--src/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channel.c b/src/channel.c
index 907a5e9..f96f705 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))