Changeset

4811:a1fe59c06c48

mod_muc_rtbl: Fix typo in variable name in previous commit (thanks luacheck)
author Matthew Wild <mwild1@gmail.com>
date Mon, 06 Dec 2021 12:26:16 +0000
parents 4810:181738ae4117
children 4812:9cdbb1b5e6f2
files mod_muc_rtbl/mod_muc_rtbl.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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