send: fix sendto_anywhere() missing a target param
This commit is contained in:
parent
71c875fb9a
commit
f2003b4411
1 changed files with 2 additions and 0 deletions
|
@ -1175,6 +1175,8 @@ sendto_anywhere(struct Client *target_p, struct Client *source_p,
|
||||||
struct MsgBuf msgbuf;
|
struct MsgBuf msgbuf;
|
||||||
|
|
||||||
build_msgbuf_from(&msgbuf, source_p, command);
|
build_msgbuf_from(&msgbuf, source_p, command);
|
||||||
|
msgbuf.target = target_p->name;
|
||||||
|
|
||||||
linebuf_put_msgvbuf(&msgbuf, &linebuf, target_p->localClient->caps, pattern, &args);
|
linebuf_put_msgvbuf(&msgbuf, &linebuf, target_p->localClient->caps, pattern, &args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue