downstream: always populate downstreamConn.username
This ensures we don't send a prefix without a username in it.
This commit is contained in:
parent
069625d30d
commit
883683c0b7
@ -336,6 +336,7 @@ func newDownstreamConn(srv *Server, ic ircConn, id uint64) *downstreamConn {
|
|||||||
id: id,
|
id: id,
|
||||||
nick: "*",
|
nick: "*",
|
||||||
nickCM: "*",
|
nickCM: "*",
|
||||||
|
username: "~u",
|
||||||
caps: newCapRegistry(),
|
caps: newCapRegistry(),
|
||||||
monitored: newCasemapMap(0),
|
monitored: newCasemapMap(0),
|
||||||
registration: new(downstreamRegistration),
|
registration: new(downstreamRegistration),
|
||||||
|
Loading…
Reference in New Issue
Block a user