# HG changeset patch # User Waqas Hussain # Date 1223131919 -18000 # Node ID 85a93adef6f6adc6ce021ca7240d8becfc3cda7e # Parent 4edb942e9dff21828ad0577582e9b746ac596d0f Removed unused functions diff -r 4edb942e9dff -r 85a93adef6f6 util/stanza.lua --- a/util/stanza.lua Sat Oct 04 19:32:02 2008 +0500 +++ b/util/stanza.lua Sat Oct 04 19:51:59 2008 +0500 @@ -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