Changeset

5432:53b16286509a

portmanager: import pairs() (thanks Maranda)
author Matthew Wild <mwild1@gmail.com>
date Fri, 05 Apr 2013 13:06:26 +0100
parents 5430:0ad8c623a81a
children 5433:7d0622a80087 5434:9dd36e20c1e3
files core/portmanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/portmanager.lua	Fri Apr 05 10:04:53 2013 +0100
+++ b/core/portmanager.lua	Fri Apr 05 13:06:26 2013 +0100
@@ -9,7 +9,7 @@
 
 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;