~emersion/soju

9e04b3899b0c9dfa9f0bb011344dc85a2fd9d0c2 — Hubert Hirtz 15 days ago e84fad3
Don't directly reply to network-specific NICK

The NICK must only apply to the specific network, not to the downstream
connection.
1 files changed, 1 insertions(+), 1 deletions(-)

M downstream.go
M downstream.go => downstream.go +1 -1
@@ 1201,7 1201,7 @@ func (dc *downstreamConn) handleMessageRegistered(msg *irc.Message) error {
			})
		})

		if dc.upstream() == nil && dc.nick != nick {
		if dc.upstream() == nil && upstream == nil && dc.nick != nick {
			dc.SendMessage(&irc.Message{
				Prefix:  dc.prefix(),
				Command: "NICK",