]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_topic.c
Removal of ancient SVN ID's part one
[irc/rqf/shadowircd.git] / modules / m_topic.c
index ff72fb4c23559e6b0cf7b7da04f51ae5450e6b5a..439e456dc5f1f10cf25b6d6a19b367498ac5bc60 100644 (file)
@@ -21,7 +21,6 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: m_topic.c 254 2005-09-21 23:35:12Z nenolod $
  */
 
 #include "stdinc.h"
@@ -116,7 +115,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) && !can_send(chptr, source_p, msptr))
                {
                        if(IsOverride(source_p))
                        {