From d4f6ff10dcc3042f98f3f59da6a48bda7852d435 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 27 Nov 2018 21:23:22 +0100 Subject: mod_csi: Fix copypaste mistake [luacheck] --- plugins/mod_csi.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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 -- cgit v1.2.3