aboutsummaryrefslogtreecommitdiffstats
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
commita2518c8d453a59dd63aee8e9f7c97d9c93da5429 (patch)
treead2f073ac18b7a9a6520f2acddcd464d0eb604f5
parent092ad2252d2388f600b1b9bcdd0d44b07a3d3e3b (diff)
downloadprosody-a2518c8d453a59dd63aee8e9f7c97d9c93da5429.tar.gz
prosody-a2518c8d453a59dd63aee8e9f7c97d9c93da5429.zip
portmanager: Import ipairs (thanks Maranda)
-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;