From 1698a5f3cf7031c4c41dad811d8e3a1b60b569b3 Mon Sep 17 00:00:00 2001 From: Anton Shestakov Date: Thu, 14 Jul 2016 18:51:22 +0800 Subject: mod_net_multiplex: remove unused one-letter loop variable [luacheck] --- plugins/mod_net_multiplex.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_net_multiplex.lua b/plugins/mod_net_multiplex.lua index 0dd3dc67..ad6f0214 100644 --- a/plugins/mod_net_multiplex.lua +++ b/plugins/mod_net_multiplex.lua @@ -19,7 +19,7 @@ module:hook("service-added", function (event) add_service(event.service); end); module:hook("service-removed", function (event) available_services[event.service] = nil; end); for service_name, services in pairs(portmanager.get_registered_services()) do - for i, service in ipairs(services) do + for _, service in ipairs(services) do add_service(service); end end -- cgit v1.2.3