xmpp/xmpp.go
changeset 157 eadf15a06ff5
parent 153 bbd4166df95d
child 158 2d948fcbb5d7
--- a/xmpp/xmpp.go	Sat Sep 28 13:15:32 2013 -0600
+++ b/xmpp/xmpp.go	Sun Sep 29 21:33:03 2013 -0600
@@ -221,6 +221,9 @@
 		return nil, err
 	}
 
+	// Forget about the password, for paranoia's sake.
+	cl.password = ""
+
 	// Initialize the session.
 	id := NextId()
 	iq := &Iq{Header: Header{To: cl.Jid.Domain, Id: id, Type: "set",