Update error.go

Fix typo in comment
disco_info_form
Mickael Remond 5 years ago committed by Mickaël Rémond
parent 1971772394
commit 0ee4764d31

@ -27,7 +27,7 @@ func (x *Err) Namespace() string {
return x.XMLName.Space
}
// UnmarshalXML implements custom parsing for IQs
// UnmarshalXML implements custom parsing for XMPP errors
func (x *Err) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
x.XMLName = start.Name

Loading…
Cancel
Save