Changeset

9654:ede4e15a0fed

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Tue, 27 Nov 2018 21:23:31 +0100
parents 9652:a58b48268ecd (current diff) 9653:91856829f18b (diff)
children 9656:3da6cc927ee6
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_csi.lua	Tue Nov 27 21:18:19 2018 +0100
+++ b/plugins/mod_csi.lua	Tue Nov 27 21:23:31 2018 +0100
@@ -11,7 +11,7 @@
 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