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