X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=ircd%2Fm_topic.c;fp=ircd%2Fm_topic.c;h=d967e049243fa862051941bc8d705fe0b5501a64;hp=37ae26f41512dedf6dce634f4ca12a139d60f784;hb=b8402b9ef585580454491088f9581a1c3a8ca8ef;hpb=13e67fb3455fe03d0102970788ff764a491df43c diff --git a/ircd/m_topic.c b/ircd/m_topic.c index 37ae26f..d967e04 100644 --- a/ircd/m_topic.c +++ b/ircd/m_topic.c @@ -142,7 +142,7 @@ int m_topic(struct Client* cptr, struct Client* sptr, int parc, char* parv[]) chptr->topic_time); } } - else if ((chptr->mode.mode & MODE_TOPICLIMIT) && (!is_chan_op(sptr, chptr) && !(IsNetServ(sptr) && IsSecurityServ(sptr) && IsChannelService(sptr)))) + else if ((chptr->mode.mode & MODE_TOPICLIMIT) && (!is_chan_op(sptr, chptr) && !is_halfop(sptr, chptr) && !(IsNetServ(sptr) && IsSecurityServ(sptr) && IsChannelService(sptr)))) send_reply(sptr, ERR_CHANOPRIVSNEEDED, chptr->chname); else if (!client_can_send_to_channel(sptr, chptr, 1)) send_reply(sptr, ERR_CANNOTSENDTOCHAN, chptr->chname);