]> jfr.im git - irc/freenode/ircd-seven.git/commitdiff
Fix topic changes after 6af636dce2e6.
authorJilles Tjoelker <redacted>
Mon, 27 Dec 2010 16:31:11 +0000 (17:31 +0100)
committerJilles Tjoelker <redacted>
Mon, 27 Dec 2010 16:31:11 +0000 (17:31 +0100)
modules/m_topic.c

index c8328f1c5a50c38277532eed6b5668caf4751712..a0065c213520d636b1534856fb783c5e77d92485 100644 (file)
@@ -125,7 +125,7 @@ m_topic(struct Client *client_p, struct Client *source_p, int parc, const char *
                }
 
                if(((chptr->mode.mode & MODE_TOPICLIMIT) == 0 ||
-                                       get_channel_access(source_p, msptr) < CHFL_CHANOP) &&
+                                       get_channel_access(source_p, msptr) >= CHFL_CHANOP) &&
                                (!MyClient(source_p) ||
                                 can_send(chptr, source_p, msptr)))
                {