From c43ce0da2946e7b4769f8e0d54ce83a62cb49ce6 Mon Sep 17 00:00:00 2001 From: Hubert Hirtz Date: Mon, 1 Jun 2020 14:41:47 +0200 Subject: [PATCH] Send the full user mask in RPL_LOGGEDIN As per the spec [1]: :server 900 !@ :Now logged in [1]: https://ircv3.net/specs/extensions/sasl-3.1 --- downstream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/downstream.go b/downstream.go index d80ced5..6ea160c 100644 --- a/downstream.go +++ b/downstream.go @@ -416,7 +416,7 @@ func (dc *downstreamConn) handleMessageUnregistered(msg *irc.Message) error { dc.SendMessage(&irc.Message{ Prefix: dc.srv.prefix(), Command: irc.RPL_LOGGEDIN, - Params: []string{dc.nick, dc.nick, dc.user.Username, "You are now logged in"}, + Params: []string{dc.nick, dc.prefix().String(), dc.user.Username, "You are now logged in"}, }) dc.SendMessage(&irc.Message{ Prefix: dc.srv.prefix(),