comparison 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
parents 5e91a34b1e71
children 2b10e51d85a6
comparison
equal deleted inserted replaced
3963:acd231e2b46f 3964:15355caf4553
72 end 72 end
73 end 73 end
74 74
75 if rooms then 75 if rooms then
76 function module.unload() 76 function module.unload()
77 for room_jid, room in pairs(rooms) do 77 for room_jid, room in pairs(rooms) do --luacheck: ignore 213/room_jid
78 room.throttle = nil; 78 room.throttle = nil;
79 end 79 end
80 end 80 end
81 81
82 module:hook("message/bare", handle_stanza, 501); 82 module:hook("message/bare", handle_stanza, 501);