aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-10-04 19:24:43 +0100
committerMatthew Wild <mwild1@gmail.com>2008-10-04 19:24:43 +0100
commit8682a776e355aad58970c849dddb0884c3bb35ef (patch)
tree4429087a0b9ce1399dbe87a7a73d349dc5b7c937 /util
parent5239107016cf58af6ac10d9b8a436b4da2ff130c (diff)
parent0e013c0d63bd8c5052cb5306ff92ad5b3f76071d (diff)
downloadprosody-8682a776e355aad58970c849dddb0884c3bb35ef.tar.gz
prosody-8682a776e355aad58970c849dddb0884c3bb35ef.zip
Merge from waqas
Diffstat (limited to 'util')
-rw-r--r--util/stanza.lua9
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