downstream: improve grouping of downstreamConn fields

This commit is contained in:
Simon Ser 2022-03-21 15:08:12 +01:00
parent b3425ba1a3
commit 884bfec6a6

View File

@ -300,23 +300,24 @@ type downstreamConn struct {
id uint64
// These don't change after connection registration
registered bool
user *user
nick string
nickCM string
clientName string
realname string
hostname string
account string // RPL_LOGGEDIN/OUT state
network *network // can be nil
isMultiUpstream bool
clientName string
registration *downstreamRegistration // nil after RPL_WELCOME
nick string
nickCM string
realname string
hostname string
account string // RPL_LOGGEDIN/OUT state
negotiatingCaps bool
capVersion int
caps capRegistry
sasl *downstreamSASL
registration *downstreamRegistration // nil after RPL_WELCOME
lastBatchRef uint64