From fa33ce986c15b080288d3bef279c268e4ad45ced Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 23 May 2023 18:28:50 +0200 Subject: [PATCH] downstream: fix nick in auth error message We were always printing "*" here. --- downstream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/downstream.go b/downstream.go index aa0fc9c..df960ea 100644 --- a/downstream.go +++ b/downstream.go @@ -689,7 +689,7 @@ func (dc *downstreamConn) handleMessageUnregistered(ctx context.Context, msg *ir } if err != nil { - dc.logger.Printf("SASL %v authentication error for nick %q: %v", credentials.mechanism, dc.nick, err) + dc.logger.Printf("SASL %v authentication error for nick %q: %v", credentials.mechanism, dc.registration.nick, err) dc.endSASL(ctx, &irc.Message{ Prefix: dc.srv.prefix(), Command: irc.ERR_SASLFAIL,