aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_net_multiplex.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-07-14 13:41:02 +0200
committerKim Alvefur <zash@zash.se>2016-07-14 13:41:02 +0200
commitccadcc9b4710fcf04c51d01cb40611efd5f7b835 (patch)
tree7f1c0c36f5c9dadc79cbec11d668ba0bdef0d36f /plugins/mod_net_multiplex.lua
parent3616de36510d613e3eb2e75e730f5066bfa41741 (diff)
parent81dba787f4875f51e6d376231373600401c99411 (diff)
downloadprosody-ccadcc9b4710fcf04c51d01cb40611efd5f7b835.tar.gz
prosody-ccadcc9b4710fcf04c51d01cb40611efd5f7b835.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_net_multiplex.lua')
-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