# HG changeset patch # User Kim Alvefur # Date 1543342533 -3600 # Node ID db6bcafd76c9605ff6237b89f0143a5160966bad # Parent a2084922659845afeea970b48e89ee89df74ad27 mod_csi_simple: Fix autocompletion mistake diff -r a20849226598 -r db6bcafd76c9 plugins/mod_csi_simple.lua --- a/plugins/mod_csi_simple.lua Tue Nov 27 19:05:11 2018 +0100 +++ b/plugins/mod_csi_simple.lua Tue Nov 27 19:15:33 2018 +0100 @@ -86,7 +86,7 @@ pump:flush(); send(stanza); else - if st.is_stanza(stanza) and st.attr.xmlns == nil and st.name ~= "iq" then + if st.is_stanza(stanza) and stanza.attr.xmlns == nil and stanza.name ~= "iq" then stanza = st.clone(stanza); stanza:add_direct_child(st.stanza("delay", {xmlns = "urn:xmpp:delay", from = bare_jid, stamp = dt.datetime()})); end