aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commita7ad0e1250a4cd1ec184841c54561fa928873b63 (patch)
tree5b46eb88a92aa3f27e64adfdd00d8d44bbba9cfb /plugins
parent0663b25e6142811fb6e53d68cdae0f55be247ff8 (diff)
downloadprosody-a7ad0e1250a4cd1ec184841c54561fa928873b63.tar.gz
prosody-a7ad0e1250a4cd1ec184841c54561fa928873b63.zip
mod_csi: Fix copypaste mistake [luacheck]
Diffstat (limited to 'plugins')
-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