aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_csi.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_csi.lua')
-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