Software /
code /
prosody
Changeset
58:85a93adef6f6
Removed unused functions
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sat, 04 Oct 2008 19:51:59 +0500 |
parents | 55:4edb942e9dff |
children | 59:9e1541b72522 |
files | util/stanza.lua |
diffstat | 1 files changed, 0 insertions(+), 9 deletions(-) [+] |
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