diff options
Diffstat (limited to 'vendor/github.com/mattn/go-xmpp/xmpp_muc.go')
-rw-r--r-- | vendor/github.com/mattn/go-xmpp/xmpp_muc.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/github.com/mattn/go-xmpp/xmpp_muc.go b/vendor/github.com/mattn/go-xmpp/xmpp_muc.go index f88f1b67..7b50c128 100644 --- a/vendor/github.com/mattn/go-xmpp/xmpp_muc.go +++ b/vendor/github.com/mattn/go-xmpp/xmpp_muc.go @@ -90,7 +90,8 @@ func (c *Client) JoinProtectedMUC(jid, nick string, password string, history_typ case NoHistory: return fmt.Fprintf(c.conn, "<presence to='%s/%s'>\n" + "<x xmlns='%s'>\n" + - "<password>%s</password>\n"+ + "<password>%s</password>" + + "</x>\n" + "</presence>", xmlEscape(jid), xmlEscape(nick), nsMUC, xmlEscape(password)) case CharHistory: |