Software /
code /
prosody
Changeset
59:9e1541b72522
Merge from waqas
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 04 Oct 2008 19:24:43 +0100 |
parents | 57:126b25079399 (current diff) 58:85a93adef6f6 (diff) |
children | 61:7afc23a8114e |
files | |
diffstat | 1 files changed, 0 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- 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