diff --git a/HubConnectionOptions.go b/HubConnectionOptions.go index 997c86e..c990aaa 100644 --- a/HubConnectionOptions.go +++ b/HubConnectionOptions.go @@ -4,7 +4,7 @@ type HubConnectionOptions struct { Address HubAddress SkipVerifyTLS bool // using a negative verb, because bools default to false SkipAutoReconnect bool // as above - Self UserInfo + Self *UserInfo NickPassword string } diff --git a/NmdcProtocol.go b/NmdcProtocol.go index 33bd276..db209fe 100644 --- a/NmdcProtocol.go +++ b/NmdcProtocol.go @@ -301,7 +301,7 @@ func (this *NmdcProtocol) SayPrivate(recipient, message string) { } func (this *NmdcProtocol) sayInfo() { - this.hc.SayRaw(this.getUserMyINFO(&this.hc.Hco.Self) + "|") + this.hc.SayRaw(this.getUserMyINFO(this.hc.Hco.Self) + "|") } func (this *NmdcProtocol) parseMyINFO(protomsg string) (*UserInfo, error) {