mod_muc_rtbl/mod_muc_rtbl.lua
changeset 4815 a1fe59c06c48
parent 4814 181738ae4117
child 4816 9cdbb1b5e6f2
--- a/mod_muc_rtbl/mod_muc_rtbl.lua	Mon Dec 06 12:24:07 2021 +0000
+++ b/mod_muc_rtbl/mod_muc_rtbl.lua	Mon Dec 06 12:26:16 2021 +0000
@@ -95,7 +95,7 @@
 	local from_bare = jid.bare(event.stanza.attr.from);
 
 	local affiliation = event.room:get_affiliation(from_bare);
-	if affiliation and affilition ~= "none" then
+	if affiliation and affiliation ~= "none" then
 		-- Skip check for affiliated users
 		return;
 	end