From cb757c703d426c3da1166bbdd19140ed615d42de Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Wed, 1 Dec 2021 12:16:03 -0500 Subject: [PATCH] change FAIL AUTHENTICATE VERIFICATION_REQUIRED to be a NOTE See discussion on #1852 --- irc/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/handlers.go b/irc/handlers.go index c12df503..ecc053ca 100644 --- a/irc/handlers.go +++ b/irc/handlers.go @@ -283,7 +283,7 @@ func sendAuthErrorResponse(client *Client, rb *ResponseBuffer, err error) { msg := authErrorToMessage(client.server, err) rb.Add(nil, client.server.name, ERR_SASLFAIL, client.nick, fmt.Sprintf("%s: %s", client.t("SASL authentication failed"), client.t(msg))) if err == errAccountUnverified { - rb.Add(nil, client.server.name, "FAIL", "AUTHENTICATE", "VERIFICATION_REQUIRED", "*", client.t(err.Error())) + rb.Add(nil, client.server.name, "NOTE", "AUTHENTICATE", "VERIFICATION_REQUIRED", "*", client.t(err.Error())) } }