diff --git a/error.go b/error.go index 2fe542f..a4b4f17 100644 --- a/error.go +++ b/error.go @@ -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