# HG changeset patch # User Chris Jones # Date 1382071268 21600 # Node ID 2f6ae54a2bd188853cd45e70fcadb5cb8d247ff4 # Parent d496de556c9a8622745c786a6ae215cb723a5d90 Doc fix. diff -r d496de556c9a -r 2f6ae54a2bd1 xmpp/structs.go --- a/xmpp/structs.go Wed Oct 16 20:52:05 2013 -0600 +++ b/xmpp/structs.go Thu Oct 17 22:41:08 2013 -0600 @@ -162,8 +162,7 @@ return result } -// Set implements flag.Value. It returns true if it successfully -// parses the string. +// Set implements flag.Value. func (jid *JID) Set(val string) error { r := regexp.MustCompile("^(([^@/]+)@)?([^@/]+)(/([^@/]+))?$") parts := r.FindStringSubmatch(val)