aboutsummaryrefslogtreecommitdiffstats
path: root/util/stanza.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-10-08 03:38:07 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-10-08 03:38:07 +0500
commit55e20d98bd0fce5e2d2d23eeadbf096dc48600c9 (patch)
tree4e08b2e78b565de85c734877cf940af1cc20e9ba /util/stanza.lua
parent014df9a22a4b0519034423f198bdb5bcac5b6f21 (diff)
downloadprosody-55e20d98bd0fce5e2d2d23eeadbf096dc48600c9.tar.gz
prosody-55e20d98bd0fce5e2d2d23eeadbf096dc48600c9.zip
Fixed typo in variable name
Diffstat (limited to 'util/stanza.lua')
-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})