Don't directly reply to network-specific NICK
The NICK must only apply to the specific network, not to the downstream connection.
This commit is contained in:
parent
e84fad3eda
commit
9e04b3899b
@ -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{
|
dc.SendMessage(&irc.Message{
|
||||||
Prefix: dc.prefix(),
|
Prefix: dc.prefix(),
|
||||||
Command: "NICK",
|
Command: "NICK",
|
||||||
|
Loading…
Reference in New Issue
Block a user