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
This commit is contained in:
parent
c547aa0278
commit
c43ce0da29
@ -416,7 +416,7 @@ func (dc *downstreamConn) handleMessageUnregistered(msg *irc.Message) error {
|
|||||||
dc.SendMessage(&irc.Message{
|
dc.SendMessage(&irc.Message{
|
||||||
Prefix: dc.srv.prefix(),
|
Prefix: dc.srv.prefix(),
|
||||||
Command: irc.RPL_LOGGEDIN,
|
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{
|
dc.SendMessage(&irc.Message{
|
||||||
Prefix: dc.srv.prefix(),
|
Prefix: dc.srv.prefix(),
|
||||||
|
Loading…
Reference in New Issue
Block a user