Software /
code /
verse
Changeset
285:99737531734c
plugins.carbons: Don't check carbons flag twice.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 17 Mar 2012 15:44:16 +0100 |
parents | 284:c78d1780f1d2 |
children | 286:04b6c060ff01 |
files | plugins/carbons.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/carbons.lua Mon Mar 05 20:51:00 2012 +0100 +++ b/plugins/carbons.lua Sat Mar 17 15:44:16 2012 +0100 @@ -49,7 +49,7 @@ stream:hook("message", function(stanza) 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; + carbon_dir = carbon_dir.name; local fwd = stanza:get_child("forwarded", xmlns_forward); local fwd_stanza = fwd and fwd:get_child("message", "jabber:client"); if fwd_stanza then