mod_muc_rtbl: Fix typo in variable name in previous commit (thanks luacheck)
authorMatthew Wild <mwild1@gmail.com>
Mon, 06 Dec 2021 12:26:16 +0000
changeset 4815 a1fe59c06c48
parent 4814 181738ae4117
child 4816 9cdbb1b5e6f2
mod_muc_rtbl: Fix typo in variable name in previous commit (thanks luacheck)
mod_muc_rtbl/mod_muc_rtbl.lua
--- 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