nmdc-log-service: use NewUserInfo helper to set passive/1-connected in tag
This commit is contained in:
parent
34dd9d515c
commit
07441628d9
@ -56,7 +56,7 @@ func HubWorker(addr, nick, password string) {
|
||||
opts := libnmdc.HubConnectionOptions{
|
||||
Address: libnmdc.HubAddress(addr),
|
||||
SkipVerifyTLS: !VerifyTLS,
|
||||
Self: libnmdc.UserInfo{Nick: nick},
|
||||
Self: *libnmdc.NewUserInfo(nick),
|
||||
NickPassword: password,
|
||||
}
|
||||
hub := opts.Connect()
|
||||
|
Loading…
Reference in New Issue
Block a user