diff --git a/downstream.go b/downstream.go index 2598150..38a368e 100644 --- a/downstream.go +++ b/downstream.go @@ -563,6 +563,7 @@ func (dc *downstreamConn) SendMessage(msg *irc.Message) { delete(msg.Tags, "batch") } if msg.Command == "JOIN" && !dc.caps.IsEnabled("extended-join") { + msg = msg.Copy() msg.Params = msg.Params[:1] } if msg.Command == "SETNAME" && !dc.caps.IsEnabled("setname") {