From 473a0f018bba3837f121040fee0444f164deccf7 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 24 Nov 2020 14:22:39 +0100 Subject: [PATCH] Fix nickname in ERR_ERRONEOUSNICKNAME --- downstream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/downstream.go b/downstream.go index d861f87..ec12fac 100644 --- a/downstream.go +++ b/downstream.go @@ -1086,7 +1086,7 @@ func (dc *downstreamConn) handleMessageRegistered(msg *irc.Message) error { if strings.ContainsAny(nick, illegalNickChars) { return ircError{&irc.Message{ Command: irc.ERR_ERRONEUSNICKNAME, - Params: []string{dc.nick, nick, "contains illegal characters"}, + Params: []string{dc.nick, rawNick, "contains illegal characters"}, }} } if nick == serviceNick {