aboutsummaryrefslogtreecommitdiffstats
path: root/core/portmanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-05-03 15:38:12 +0200
committerKim Alvefur <zash@zash.se>2012-05-03 15:38:12 +0200
commit5a5d0cc8105e4f0fc40c89cb0b554fedd4cc7cf7 (patch)
tree3a30f02a6698c0ee2ca96c0aa968fa6630333e90 /core/portmanager.lua
parent1e7a357152dea2035dc98107cdea05b9e680cdf8 (diff)
downloadprosody-5a5d0cc8105e4f0fc40c89cb0b554fedd4cc7cf7.tar.gz
prosody-5a5d0cc8105e4f0fc40c89cb0b554fedd4cc7cf7.zip
portmanager: Import pairs
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 876543e3..1482160d 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, ipairs = type, tonumber, ipairs;
+local type, tonumber, ipairs, pairs = type, tonumber, ipairs, pairs;
local prosody = prosody;
local fire_event = prosody.events.fire_event;