Diff

mod_muc_limits/mod_muc_limits.lua @ 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
parent 3449:5e91a34b1e71
child 3965:2b10e51d85a6
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