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