nmdc-log-service: use NewUserInfo helper to set passive/1-connected in tag

This commit is contained in:
mappu 2016-04-10 16:37:21 +12:00
parent ef2dd31219
commit a52fb3c43d
1 changed files with 1 additions and 1 deletions

View File

@ -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()