X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/3b0e9fa20ed055db5d862caaff4cef4b3b58c0bc..c1c91f9438713b71a0b8b7cc9104458c7a6a3b47:/modules/m_topic.c diff --git a/modules/m_topic.c b/modules/m_topic.c index cddf5f9..4b6d44b 100644 --- a/modules/m_topic.c +++ b/modules/m_topic.c @@ -119,9 +119,14 @@ m_topic(struct Client *client_p, struct Client *source_p, int parc, const char * if(MyClient(source_p) && (chptr->mode.mode & MODE_TOPICLIMIT) && !is_chanop(msptr)) { if(IsOverride(source_p)) - sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, + { + sendto_wallops_flags(UMODE_WALLOP, &me, "%s is overriding TOPIC on [%s]", get_oper_name(source_p), chptr->chname); + sendto_server(NULL, chptr, NOCAPS, NOCAPS, + ":%s WALLOPS :%s is overriding TOPIC on [%s]", + use_id(source_p), get_oper_name(source_p), chptr->chname); + } else { sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED),