This commit is contained in:
Shivaram Lingamneni 2020-12-21 21:59:46 -05:00
parent 5c64612455
commit 514a2e613f
2 changed files with 6 additions and 1 deletions

View file

@ -2587,7 +2587,10 @@ func relaymsgHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *
// send msg
channelName := channel.Name()
relayTags := map[string]string{
"relaymsg": client.Nick(),
caps.RelaymsgTagName: client.Nick(),
}
for t, v := range msg.ClientOnlyTags() {
relayTags[t] = v
}
for _, member := range channel.Members() {
for _, session := range member.Sessions() {