remove pointer indirection from self userinfo
--HG-- branch : adc
This commit is contained in:
parent
ffc81f52fb
commit
dc3051fd38
@ -4,7 +4,7 @@ type HubConnectionOptions struct {
|
|||||||
Address HubAddress
|
Address HubAddress
|
||||||
SkipVerifyTLS bool // using a negative verb, because bools default to false
|
SkipVerifyTLS bool // using a negative verb, because bools default to false
|
||||||
SkipAutoReconnect bool // as above
|
SkipAutoReconnect bool // as above
|
||||||
Self UserInfo
|
Self *UserInfo
|
||||||
NickPassword string
|
NickPassword string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -301,7 +301,7 @@ func (this *NmdcProtocol) SayPrivate(recipient, message string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (this *NmdcProtocol) sayInfo() {
|
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) {
|
func (this *NmdcProtocol) parseMyINFO(protomsg string) (*UserInfo, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user