downstream: improve grouping of downstreamConn fields
This commit is contained in:
parent
b3425ba1a3
commit
884bfec6a6
@ -300,23 +300,24 @@ type downstreamConn struct {
|
|||||||
|
|
||||||
id uint64
|
id uint64
|
||||||
|
|
||||||
|
// These don't change after connection registration
|
||||||
registered bool
|
registered bool
|
||||||
user *user
|
user *user
|
||||||
|
network *network // can be nil
|
||||||
|
isMultiUpstream bool
|
||||||
|
clientName string
|
||||||
|
|
||||||
nick string
|
nick string
|
||||||
nickCM string
|
nickCM string
|
||||||
clientName string
|
|
||||||
realname string
|
realname string
|
||||||
hostname string
|
hostname string
|
||||||
account string // RPL_LOGGEDIN/OUT state
|
account string // RPL_LOGGEDIN/OUT state
|
||||||
network *network // can be nil
|
|
||||||
isMultiUpstream bool
|
|
||||||
|
|
||||||
registration *downstreamRegistration // nil after RPL_WELCOME
|
|
||||||
|
|
||||||
negotiatingCaps bool
|
negotiatingCaps bool
|
||||||
capVersion int
|
capVersion int
|
||||||
caps capRegistry
|
caps capRegistry
|
||||||
sasl *downstreamSASL
|
sasl *downstreamSASL
|
||||||
|
registration *downstreamRegistration // nil after RPL_WELCOME
|
||||||
|
|
||||||
lastBatchRef uint64
|
lastBatchRef uint64
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user