From 9e04b3899b0c9dfa9f0bb011344dc85a2fd9d0c2 Mon Sep 17 00:00:00 2001 From: Hubert Hirtz Date: Fri, 30 Apr 2021 10:44:35 +0200 Subject: [PATCH] Don't directly reply to network-specific NICK The NICK must only apply to the specific network, not to the downstream connection. --- downstream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/downstream.go b/downstream.go index d524e7b..325bdb5 100644 --- a/downstream.go +++ b/downstream.go @@ -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",