diff --git a/jid.go b/jid.go index c88e5b4..b795a3d 100644 --- a/jid.go +++ b/jid.go @@ -22,7 +22,7 @@ func NewJid(sjid string) (jid *Jid, err error) { s2 := strings.Split(s1[1], "/") if len(s2) > 2 { - err = errors.New("invalid JID: " + sjidd) + err = errors.New("invalid JID: " + sjid) return } jid.domain = s2[0]