From 5358d93ab96082062c15533b91983c8af5e8929e Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 3 Apr 2023 22:35:38 +0200 Subject: [PATCH] upstream: don't print "unhandled message" for registration errors --- upstream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upstream.go b/upstream.go index b2af23f..0522360 100644 --- a/upstream.go +++ b/upstream.go @@ -1827,7 +1827,7 @@ func (uc *upstreamConn) handleMessage(ctx context.Context, msg *irc.Message) err if !uc.registered { return registrationError{msg} } - fallthrough + uc.forwardMsgByID(downstreamID, msg) default: uc.logger.Printf("unhandled message: %v", msg) uc.forwardMsgByID(downstreamID, msg)