From 93661a854ed575ef2812610ea0660bb94159866e Mon Sep 17 00:00:00 2001 From: Hubert Hirtz Date: Mon, 17 Aug 2020 13:58:51 +0200 Subject: irc: Also update casefolded nickname on ERR_ERRONEOUSNICKNAME --- irc/states.go | 1 + 1 file changed, 1 insertion(+) (limited to 'irc/states.go') diff --git a/irc/states.go b/irc/states.go index 4e70ac3..99ad7a7 100644 --- a/irc/states.go +++ b/irc/states.go @@ -474,6 +474,7 @@ func (s *Session) handleStart(msg Message) (err error) { } case errNicknameinuse: s.nick = s.nick + "_" + s.nickCf = s.nickCf + "_" err = s.send("NICK %s\r\n", s.nick) if err != nil { -- cgit v1.2.3