diff --git a/ircd/send.c b/ircd/send.c index 982613b7..944f329c 100644 --- a/ircd/send.c +++ b/ircd/send.c @@ -1175,6 +1175,8 @@ sendto_anywhere(struct Client *target_p, struct Client *source_p, struct MsgBuf msgbuf; build_msgbuf_from(&msgbuf, source_p, command); + msgbuf.target = target_p->name; + linebuf_put_msgvbuf(&msgbuf, &linebuf, target_p->localClient->caps, pattern, &args); } }