Software /
code /
prosody
Changeset
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 |
parents | 7501:8c3d93b67560 |
children | 7503:1810f1a4ff05 |
files | plugins/mod_net_multiplex.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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