aboutsummaryrefslogtreecommitdiffstats
path: root/util/stanza.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/stanza.lua')
-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