diff options
author | Anton Shestakov <av6@dwimlabs.net> | 2016-07-14 18:51:22 +0800 |
---|---|---|
committer | Anton Shestakov <av6@dwimlabs.net> | 2016-07-14 18:51:22 +0800 |
commit | 1698a5f3cf7031c4c41dad811d8e3a1b60b569b3 (patch) | |
tree | e903fbdfbd62a353b6c1c693579c13355ba771fc | |
parent | 7d5a4cde28eb242e17d5701239ba3e3a67c73516 (diff) | |
download | prosody-1698a5f3cf7031c4c41dad811d8e3a1b60b569b3.tar.gz prosody-1698a5f3cf7031c4c41dad811d8e3a1b60b569b3.zip |
mod_net_multiplex: remove unused one-letter loop variable [luacheck]
-rw-r--r-- | plugins/mod_net_multiplex.lua | 2 |
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 |