Software /
code /
verse
Changeset
22:e6fad7c411fe
verse.client: Extend verse object with message/iq/presence/stanza methods from util.stanza
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 04 Dec 2009 03:23:06 +0000 |
parents | 21:00da62000b83 |
children | 23:33e346283135 |
files | client.lua |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/client.lua Tue Dec 01 04:16:11 2009 +0000 +++ b/client.lua Fri Dec 04 03:23:06 2009 +0000 @@ -4,6 +4,11 @@ local jid_split = require "jid".split; local lxp = require "lxp"; local st = require "util.stanza"; + +-- Shortcuts to save having to load util.stanza +verse.message, verse.presence, verse.iq, verse.stanza = + st.message, st.presence, st.iq, st.stanza; + local init_xmlhandlers = require "xmlhandlers"; local xmlns_stream = "http://etherx.jabber.org/streams";