aboutsummaryrefslogtreecommitdiffstats
path: root/util/xml.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-05-06 19:39:28 +0100
committerMatthew Wild <mwild1@gmail.com>2015-05-06 19:39:28 +0100
commited2dc14ab3850ca287ed9f140f7b1da0c32eb331 (patch)
treef0a61b702a9883e410c4de3e5cbe81582a8a6330 /util/xml.lua
parentfd58c2c49c595cfe9da2e46048656a0e3b29bd80 (diff)
downloadprosody-ed2dc14ab3850ca287ed9f140f7b1da0c32eb331.tar.gz
prosody-ed2dc14ab3850ca287ed9f140f7b1da0c32eb331.zip
util.xml: Remove unused parameter (thanks, luacheck)
Diffstat (limited to 'util/xml.lua')
-rw-r--r--util/xml.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/xml.lua b/util/xml.lua
index 3c1d3e51..88ccedde 100644
--- a/util/xml.lua
+++ b/util/xml.lua
@@ -39,7 +39,7 @@ local parse_xml = (function()
function handler:CharacterData(data)
stanza:text(data);
end
- function handler:EndElement(tagname)
+ function handler:EndElement()
stanza:up();
end
local parser = lxp.new(handler, "\1");