diff options
author | Waqas Hussain <waqas20@gmail.com> | 2008-10-04 19:51:59 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2008-10-04 19:51:59 +0500 |
commit | 0e013c0d63bd8c5052cb5306ff92ad5b3f76071d (patch) | |
tree | cc17a18a3561dedae7c443187fabef17f44b6cad /util/stanza.lua | |
parent | f2a5d6b378701957c04649dcf693b72a133e201f (diff) | |
download | prosody-0e013c0d63bd8c5052cb5306ff92ad5b3f76071d.tar.gz prosody-0e013c0d63bd8c5052cb5306ff92ad5b3f76071d.zip |
Removed unused functions
Diffstat (limited to 'util/stanza.lua')
-rw-r--r-- | util/stanza.lua | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/util/stanza.lua b/util/stanza.lua index 553bba4d..73f58747 100644 --- a/util/stanza.lua +++ b/util/stanza.lua @@ -17,15 +17,6 @@ function stanza(name, attr) 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 |