upstream: forward ERR_NOSUCHNICK

This commit is contained in:
Simon Ser 2023-04-03 22:35:16 +02:00
parent b0f2f9c36b
commit b514306a06

View File

@ -1734,6 +1734,8 @@ func (uc *upstreamConn) handleMessage(ctx context.Context, msg *irc.Message) err
if dc != nil {
dc.SendMessage(msg)
}
} else {
uc.forwardMsgByID(downstreamID, msg)
}
case xirc.ERR_UNKNOWNERROR, irc.ERR_UNKNOWNCOMMAND, irc.ERR_NEEDMOREPARAMS, irc.RPL_TRYAGAIN:
var command, reason string