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 /modules/m_topic.c | |
parent | 634111fc07826dcf7f1f408c5186dc9f842d2a5c (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]; |