]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_topic.c
Make it so that halfops cannot set +-h
[irc/rqf/shadowircd.git] / modules / m_topic.c
index 3eee639b4ed3e3042b31763fe5c06f9a46d33768..e81ce2ca2740f43e33f6ebed6f4b6ab010004c3b 100644 (file)
@@ -114,7 +114,7 @@ m_topic(struct Client *client_p, struct Client *source_p, int parc, const char *
                        return 0;
                }
 
-               if((chptr->mode.mode & MODE_TOPICLIMIT) == 0 || is_chanop(msptr))
+               if((chptr->mode.mode & MODE_TOPICLIMIT) == 0 || is_any_op(msptr) || IsOverride(source_p))
                {
                        char topic_info[USERHOST_REPLYLEN];