diff mod_profile/mod_profile.lua @ 3181:1f2272cda0d7

mod_profile: Ignore shadowed variable name
author Kim Alvefur <zash@zash.se>
date Thu, 12 Jul 2018 21:09:41 +0200
parents 5163f7905371
children c25853bc387b
line wrap: on
line diff
--- a/mod_profile/mod_profile.lua	Thu Jul 12 21:07:10 2018 +0200
+++ b/mod_profile/mod_profile.lua	Thu Jul 12 21:09:41 2018 +0200
@@ -17,7 +17,7 @@
 local storage = module:open_store();
 local legacy_storage = module:open_store("vcard");
 
-local function get_item(vcard, name)
+local function get_item(vcard, name) -- luacheck: ignore 431
 	local item;
 	for i=1, #vcard do
 		item=vcard[i];