Changeset

3964:15355caf4553

mod_muc_limits: Add [luacheck] annotation to silence unused loop variable warning
author Matthew Wild <mwild1@gmail.com>
date Fri, 03 Apr 2020 12:24:54 +0100
parents 3963:acd231e2b46f
children 3965:2b10e51d85a6
files mod_muc_limits/mod_muc_limits.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_muc_limits/mod_muc_limits.lua	Mon Mar 30 19:56:43 2020 +0200
+++ b/mod_muc_limits/mod_muc_limits.lua	Fri Apr 03 12:24:54 2020 +0100
@@ -74,7 +74,7 @@
 
 if rooms then
 	function module.unload()
-		for room_jid, room in pairs(rooms) do
+		for room_jid, room in pairs(rooms) do --luacheck: ignore 213/room_jid
 			room.throttle = nil;
 		end
 	end