Changeset

5177:f6b5f04d4b28

mod_muc_rtbl: fix more incorrect more references to "event"
author Jonas Schäfer <jonas@wielicki.name>
date Wed, 22 Feb 2023 13:39:01 +0100
parents 5176:4791e0412ff3
children 5178:556bf57d6417 5672:2c69577b28c2
files mod_muc_rtbl/mod_muc_rtbl.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mod_muc_rtbl/mod_muc_rtbl.lua	Wed Feb 22 13:35:03 2023 +0100
+++ b/mod_muc_rtbl/mod_muc_rtbl.lua	Wed Feb 22 13:39:01 2023 +0100
@@ -101,9 +101,9 @@
 	end
 	if not occupant.mod_muc_rtbl_host_hash then
 		host_hash = sha256(jid.host(occupant.bare_jid), true);
-		event.occupant.mod_muc_rtbl_host_hash = host_hash;
+		occupant.mod_muc_rtbl_host_hash = host_hash;
 	else
-		host_hash = event.occupant.mod_muc_rtbl_host_hash;
+		host_hash = occupant.mod_muc_rtbl_host_hash;
 	end
 	return bare_hash, host_hash
 end