aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-04-05 13:06:26 +0100
committerMatthew Wild <mwild1@gmail.com>2013-04-05 13:06:26 +0100
commit4809855ead4bd71db4526869c9164bd8349a6dcf (patch)
treef844680a5fbcb9b0799257c96f87b6d9d2ed17bb /core
parent2980b6b22d681c64ae7a56668f063da32bd5c7d6 (diff)
downloadprosody-4809855ead4bd71db4526869c9164bd8349a6dcf.tar.gz
prosody-4809855ead4bd71db4526869c9164bd8349a6dcf.zip
portmanager: import pairs() (thanks Maranda)
Diffstat (limited to 'core')
-rw-r--r--core/portmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua
index 1b3740cf..1b767a09 100644
--- a/core/portmanager.lua
+++ b/core/portmanager.lua
@@ -9,7 +9,7 @@ local set = require "util.set";
local table = table;
local setmetatable, rawset, rawget = setmetatable, rawset, rawget;
-local type, tonumber, tostring, ipairs = type, tonumber, tostring, ipairs;
+local type, tonumber, tostring, ipairs, pairs = type, tonumber, tostring, ipairs, pairs;
local prosody = prosody;
local fire_event = prosody.events.fire_event;