]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Fix a bug that stopped halfops from changing the topic.
authorJD Horelick <redacted>
Wed, 14 Apr 2010 23:28:15 +0000 (19:28 -0400)
committerJD Horelick <redacted>
Wed, 14 Apr 2010 23:28:15 +0000 (19:28 -0400)
modules/m_topic.c

index ff72fb4c23559e6b0cf7b7da04f51ae5450e6b5a..afadae2035059e741cd569bbe8a79856db672a3d 100644 (file)
@@ -116,7 +116,7 @@ m_topic(struct Client *client_p, struct Client *source_p, int parc, const char *
                        return 0;
                }
 
-               if(MyClient(source_p) && (chptr->mode.mode & MODE_TOPICLIMIT) && !is_chanop(msptr))
+               if(MyClient(source_p) && (chptr->mode.mode & MODE_TOPICLIMIT) && !is_any_op(msptr))
                {
                        if(IsOverride(source_p))
                        {