From a52fb3c43d02259b05d8acf123aca7522d18f731 Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 10 Apr 2016 16:37:21 +1200 Subject: [PATCH] nmdc-log-service: use NewUserInfo helper to set passive/1-connected in tag --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 93ffa6f..c9a614d 100644 --- a/main.go +++ b/main.go @@ -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()