summaryrefslogtreecommitdiff
path: root/modules/m_topic.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/m_topic.c')
-rw-r--r--modules/m_topic.c3
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];