]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_topic.c
Add is_any_op() in preperation for adding +ah, start using it instead of is_chanop...
[irc/rqf/shadowircd.git] / modules / m_topic.c
index 001a5e1cdc7c50b3521c66393ac05a2f91e45ee6..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) || IsOverride(source_p))
+               if((chptr->mode.mode & MODE_TOPICLIMIT) == 0 || is_any_op(msptr) || IsOverride(source_p))
                {
                        char topic_info[USERHOST_REPLYLEN];