aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Shestakov <av6@dwimlabs.net>2016-07-14 18:51:22 +0800
committerAnton Shestakov <av6@dwimlabs.net>2016-07-14 18:51:22 +0800
commit37e7fd37da47ffc3e47f5622d984e62b1798b2ab (patch)
treee903fbdfbd62a353b6c1c693579c13355ba771fc
parent8028f46d24916cea33e4057da0a8b118ac584712 (diff)
downloadprosody-37e7fd37da47ffc3e47f5622d984e62b1798b2ab.tar.gz
prosody-37e7fd37da47ffc3e47f5622d984e62b1798b2ab.zip
mod_net_multiplex: remove unused one-letter loop variable [luacheck]
-rw-r--r--plugins/mod_net_multiplex.lua2
1 files changed, 1 insertions, 1 deletions
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