~emersion/soju

c43ce0da2946e7b4769f8e0d54ce83a62cb49ce6 — Hubert Hirtz 4 years ago c547aa0
Send the full user mask in RPL_LOGGEDIN

As per the spec [1]:

    :server 900 <nick> <nick>!<ident>@<host> <account> :Now logged in

[1]: https://ircv3.net/specs/extensions/sasl-3.1
1 files changed, 1 insertions(+), 1 deletions(-)

M downstream.go
M downstream.go => downstream.go +1 -1
@@ 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(),