Software /
code /
verse
Changeset
38:c40cc28ac7df
verse.client: Automatically load sasl and bind plugins
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 21 Dec 2009 19:28:02 +0000 |
parents | 37:0ccd523e110a |
children | 39:07192be5020b |
files | client.lua |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/client.lua Mon Dec 21 14:25:44 2009 +0000 +++ b/client.lua Mon Dec 21 19:28:02 2009 +0000 @@ -58,6 +58,9 @@ self.jid, self.password = jid, pass; self.username, self.host, self.resource = jid_split(jid); + self:add_plugin("sasl"); + self:add_plugin("bind"); + self:hook("incoming-raw", function (data) return self.data(self.conn, data); end); self.curr_id = 0;