Sat, 04 Oct 2008 19:24:43 +0100
Merge from waqas
--- a/util/stanza.lua Sat Oct 04 17:59:32 2008 +0100 +++ b/util/stanza.lua Sat Oct 04 19:24:43 2008 +0100 @@ -17,15 +17,6 @@ return setmetatable(stanza, stanza_mt); end -function stanza_mt:iq(attrs) - return self + stanza("iq", attrs) -end -function stanza_mt:message(attrs) - return self + stanza("message", attrs) -end -function stanza_mt:presence(attrs) - return self + stanza("presence", attrs) -end function stanza_mt:query(xmlns) return self:tag("query", { xmlns = xmlns }); end