aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-11-27 21:23:22 +0100
committerKim Alvefur <zash@zash.se>2018-11-27 21:23:22 +0100
commit3b6e2014b28238635dad221ed7fb5e034d735ae4 (patch)
tree5b46eb88a92aa3f27e64adfdd00d8d44bbba9cfb
parentd75121abffd073d710c30300c8dd751317967522 (diff)
downloadprosody-vault/0.11.1.tar.gz
prosody-vault/0.11.1.zip
mod_csi: Fix copypaste mistake [luacheck]vault/0.11.1
-rw-r--r--plugins/mod_csi.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_csi.lua b/plugins/mod_csi.lua
index 7f50dfd9..84476cac 100644
--- a/plugins/mod_csi.lua
+++ b/plugins/mod_csi.lua
@@ -11,7 +11,7 @@ end);
function refire_event(name)
return function (event)
if event.origin.username then
- session.state = event.stanza.name;
+ event.origin.state = event.stanza.name;
module:fire_event(name, event);
return true;
end