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