diff --git a/xmpp_muc.go b/xmpp_muc.go index f88f1b6..7b50c12 100644 --- a/xmpp_muc.go +++ b/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, "\n" + "\n" + - "%s\n"+ + "%s" + + "\n" + "", xmlEscape(jid), xmlEscape(nick), nsMUC, xmlEscape(password)) case CharHistory: