From 4624a05183e166674f7520c264129b698126e59f Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 5 Apr 2013 13:06:26 +0100 Subject: portmanager: import pairs() (thanks Maranda) --- core/portmanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3