aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/stanza.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/stanza.lua b/util/stanza.lua
index 85595664..06991cda 100644
--- a/util/stanza.lua
+++ b/util/stanza.lua
@@ -124,7 +124,7 @@ function reply(orig)
end
function error_reply(orig, type, condition, message, clone)
- local r = reply(orig);
+ local t = reply(orig);
t.attr.type = "error";
-- TODO use clone
t:tag("error", {type = type})