downstream: handle name=... in BOUNCER

This commit is contained in:
Alexey Yerin 2021-10-13 19:53:54 +03:00 committed by Simon Ser
parent 28e1ca51e7
commit 3109340651

View File

@ -2346,6 +2346,8 @@ func (dc *downstreamConn) handleMessageRegistered(msg *irc.Message) error {
s := string(v) s := string(v)
switch k { switch k {
// TODO: host, port, tls // TODO: host, port, tls
case "name":
record.Name = s
case "nickname": case "nickname":
record.Nick = s record.Nick = s
case "username": case "username":