# HG changeset patch # User Matthew Wild # Date 1223144683 -3600 # Node ID 9e1541b72522a6f6261941af5fb398d1a0b88706 # Parent 126b2507939906e041cd9518955840b15afd3d8f# Parent 85a93adef6f6adc6ce021ca7240d8becfc3cda7e Merge from waqas diff -r 126b25079399 -r 9e1541b72522 util/stanza.lua --- 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