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
commit58b75f64310357f007dcdcb3037583d466136190 (patch)
tree3a30f02a6698c0ee2ca96c0aa968fa6630333e90 /core/portmanager.lua
parenta8a1bb526ff592afc774de71b1781b21b17124b4 (diff)
downloadprosody-58b75f64310357f007dcdcb3037583d466136190.tar.gz
prosody-58b75f64310357f007dcdcb3037583d466136190.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;