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
commitfe3b15b27a23938728fec845a096a8b578913c14 (patch)
tree5b46eb88a92aa3f27e64adfdd00d8d44bbba9cfb
parent3d30bbe912591f39288e384e446e82c6f409ba48 (diff)
downloadprosody-fe3b15b27a23938728fec845a096a8b578913c14.tar.gz
prosody-fe3b15b27a23938728fec845a096a8b578913c14.zip
mod_csi: Fix copypaste mistake [luacheck]
-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