libnmdc: remove redundant bool=false initialisation (handled in $Lock callback)
This commit is contained in:
parent
99e4ebb842
commit
e3a92da5f6
@ -405,12 +405,11 @@ func (this *HubConnectionOptions) Connect() *HubConnection {
|
||||
}
|
||||
|
||||
hc := HubConnection{
|
||||
Hco: this,
|
||||
HubName: "(unknown)",
|
||||
State: CONNECTIONSTATE_DISCONNECTED,
|
||||
Users: make(map[string]UserInfo),
|
||||
OnEvent: make(chan HubEvent, this.NumEventsToBuffer),
|
||||
sentOurHello: false,
|
||||
Hco: this,
|
||||
HubName: "(unknown)",
|
||||
State: CONNECTIONSTATE_DISCONNECTED,
|
||||
Users: make(map[string]UserInfo),
|
||||
OnEvent: make(chan HubEvent, this.NumEventsToBuffer),
|
||||
}
|
||||
|
||||
go hc.worker()
|
||||
|
Loading…
Reference in New Issue
Block a user