Diff

plugins/mod_net_multiplex.lua @ 7502:021d2b844c51

mod_net_multiplex: remove unused one-letter loop variable [luacheck]
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 14 Jul 2016 18:51:22 +0800
parent 6380:4220ffb87b22
child 7807:caf26fc419e9
line wrap: on
line diff
--- a/plugins/mod_net_multiplex.lua	Thu Jul 14 18:49:38 2016 +0800
+++ b/plugins/mod_net_multiplex.lua	Thu Jul 14 18:51:22 2016 +0800
@@ -19,7 +19,7 @@
 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