Software /
code /
verse
Diff
plugins/carbons.lua @ 277:0d34cd815a93
plugins.carbons: Fix wrong variable name
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 01 Feb 2012 22:40:30 +0100 |
parent | 274:a228f3c7808a |
child | 285:99737531734c |
line wrap: on
line diff
--- a/plugins/carbons.lua Fri Jan 27 18:52:25 2012 +0100 +++ b/plugins/carbons.lua Wed Feb 01 22:40:30 2012 +0100 @@ -47,7 +47,7 @@ end); stream:hook("message", function(stanza) - local carbon_dir = fwd:get_child(nil, xmlns_carbons); + local carbon_dir = stanza:get_child(nil, xmlns_carbons); if stanza.attr.from == my_bare and carbon_dir then carbon_dir = carbon_dir and carbon_dir.name; local fwd = stanza:get_child("forwarded", xmlns_forward);