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> | 2019-07-21 20:58:59 +0100 |
commit | 02b2a4ebcbd2eb71f7abaad36da2dc489c7c2d7c (patch) | |
tree | 2a3625f29859be965c7972f6fa131db0f9c9790b /modules/m_topic.c | |
parent | 7a438c17063b92a23f9ab133a88097861a6f4527 (diff) |
Add global channel operator support
Diffstat (limited to 'modules/m_topic.c')
-rw-r--r-- | modules/m_topic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/m_topic.c b/modules/m_topic.c index 4606e32..3aa5e3d 100644 --- a/modules/m_topic.c +++ b/modules/m_topic.c @@ -81,7 +81,8 @@ m_topic(struct Client *client_p, struct Client *source_p, } if (!(chptr->mode.mode & MODE_TOPICLIMIT) || - has_member_flags(ms, CHFL_CHANOP|CHFL_HALFOP)) + has_member_flags(ms, CHFL_CHANOP|CHFL_HALFOP) || + HasUMode(source_p, UMODE_GCHANOP)) { char topic_info[USERHOST_REPLYLEN]; |