aboutsummaryrefslogtreecommitdiffstats
path: root/core/portmanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-29 19:31:44 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-29 19:31:44 +0100
commit4773db2341d82440e88279935ed5cff8cdcfb196 (patch)
treead2f073ac18b7a9a6520f2acddcd464d0eb604f5 /core/portmanager.lua
parent15c75e5a4ba27bb9288ab13cf3a167bacc09c9c1 (diff)
downloadprosody-4773db2341d82440e88279935ed5cff8cdcfb196.tar.gz
prosody-4773db2341d82440e88279935ed5cff8cdcfb196.zip
portmanager: Import ipairs (thanks Maranda)
Diffstat (limited to 'core/portmanager.lua')
-rw-r--r--core/portmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua
index fed35987..876543e3 100644
--- a/core/portmanager.lua
+++ b/core/portmanager.lua
@@ -7,7 +7,7 @@ local set = require "util.set";
local table, package = table, package;
local setmetatable, rawset, rawget = setmetatable, rawset, rawget;
-local type, tonumber = type, tonumber;
+local type, tonumber, ipairs = type, tonumber, ipairs;
local prosody = prosody;
local fire_event = prosody.events.fire_event;