# HG changeset patch # User Matthew Wild # Date 1365163586 -3600 # Node ID 53b16286509a24c61162a53af715e8ef1f17b142 # Parent 0ad8c623a81a94432bcdd5fe5df91e4940be635b portmanager: import pairs() (thanks Maranda) diff -r 0ad8c623a81a -r 53b16286509a core/portmanager.lua --- 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;