Wed, 01 Feb 2012 22:40:30 +0100
plugins.carbons: Fix wrong variable name
plugins/carbons.lua | file | annotate | diff | comparison | revisions |
--- 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);