# HG changeset patch # User Kim Alvefur # Date 1328132430 -3600 # Node ID 0d34cd815a93625b0dae948a5745c2f22696f93b # Parent 3d8442f7f0344487baf3328d208a9d124a143b09 plugins.carbons: Fix wrong variable name diff -r 3d8442f7f034 -r 0d34cd815a93 plugins/carbons.lua --- 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);