aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-11-27 19:15:33 +0100
committerKim Alvefur <zash@zash.se>2018-11-27 19:15:33 +0100
commit105b5fed06a6f9ebbb46e60201c78fc3fbf1e8c5 (patch)
tree356eee19ab529406298ce638c9133914cf9e4b50 /plugins
parente525ef5a6595eef0fb1cb67fd06b840888af81e1 (diff)
downloadprosody-105b5fed06a6f9ebbb46e60201c78fc3fbf1e8c5.tar.gz
prosody-105b5fed06a6f9ebbb46e60201c78fc3fbf1e8c5.zip
mod_csi_simple: Fix autocompletion mistake
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_csi_simple.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_csi_simple.lua b/plugins/mod_csi_simple.lua
index 99e4408d..f00279d3 100644
--- a/plugins/mod_csi_simple.lua
+++ b/plugins/mod_csi_simple.lua
@@ -86,7 +86,7 @@ module:hook("csi-client-inactive", function (event)
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