Mercurial > prosody-hg
diff util/stanza.lua @ 58:85a93adef6f6
Removed unused functions
| author | Waqas Hussain <waqas20@gmail.com> |
|---|---|
| date | Sat, 04 Oct 2008 19:51:59 +0500 |
| parents | bcf539295f2d |
| children | 9ec0d447cc9e |
line wrap: on
line diff
--- 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
