aboutsummaryrefslogtreecommitdiffstats
path: root/util/stanza.lua
diff options
context:
space:
mode:
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 f46d5b30..919d983c 100644
--- a/util/stanza.lua
+++ b/util/stanza.lua
@@ -438,7 +438,7 @@ local function reply(orig)
error("bad argument to reply: expected stanza, got "..type(orig));
end
return new_stanza(orig.name,
- orig.attr and {
+ {
to = orig.attr.from,
from = orig.attr.to,
id = orig.attr.id,