X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/8f43ad3f726608e1f76329b21e4e3de95949957f..4b1cce65ed584cc0fdc9f3c5ec84373fdf2566a8:/modules/core/m_mode.c diff --git a/modules/core/m_mode.c b/modules/core/m_mode.c index 848d0b45..61f0ee3b 100644 --- a/modules/core/m_mode.c +++ b/modules/core/m_mode.c @@ -248,7 +248,7 @@ possibly_remove_lower_forward(struct Client *fakesource_p, int mems, (actualBan->forward == NULL || irccmp(actualBan->forward, forward) < 0)) { - sendto_channel_local(mems, chptr, ":%s MODE %s -%c %s%s%s", + sendto_channel_local(fakesource_p, mems, chptr, ":%s MODE %s -%c %s%s%s", fakesource_p->name, chptr->chname, mchar, @@ -383,7 +383,7 @@ ms_bmask(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source { *mbuf = '\0'; *(pbuf - 1) = '\0'; - sendto_channel_local(mems, chptr, "%s %s", modebuf, parabuf); + sendto_channel_local(fakesource_p, mems, chptr, "%s %s", modebuf, parabuf); mbuf = modebuf + mlen; pbuf = parabuf; @@ -419,7 +419,7 @@ ms_bmask(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source { *mbuf = '\0'; *(pbuf - 1) = '\0'; - sendto_channel_local(mems, chptr, "%s %s", modebuf, parabuf); + sendto_channel_local(fakesource_p, mems, chptr, "%s %s", modebuf, parabuf); } sendto_server(client_p, chptr, CAP_TS6 | needcap, NOCAPS, ":%s BMASK %ld %s %s :%s",