diff -r 5b664c8fef86 -r a6c00467a3f8 util/stanza.lua --- a/util/stanza.lua Tue Oct 07 23:13:30 2008 +0100 +++ b/util/stanza.lua Wed Oct 08 03:38:07 2008 +0500 @@ -124,7 +124,7 @@ 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})