Changeset 306 in code


Ignore:
Timestamp:
Jun 1, 2020, 4:57:20 PM (5 years ago)
Author:
hubert.hirtz
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/downstream.go

    r303 r306  
    417417                                Prefix:  dc.srv.prefix(),
    418418                                Command: irc.RPL_LOGGEDIN,
    419                                 Params:  []string{dc.nick, dc.nick, dc.user.Username, "You are now logged in"},
     419                                Params:  []string{dc.nick, dc.prefix().String(), dc.user.Username, "You are now logged in"},
    420420                        })
    421421                        dc.SendMessage(&irc.Message{
Note: See TracChangeset for help on using the changeset viewer.