X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/71ea606903ce615dc33557331efcca834988b4e9..133755685ef38d8f9ac79ac27c4505b9e96f81fd:/modules/m_topic.c diff --git a/modules/m_topic.c b/modules/m_topic.c index ff72fb4..439e456 100644 --- a/modules/m_topic.c +++ b/modules/m_topic.c @@ -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)) {