# HG changeset patch # User Kim Alvefur # Date 1336052292 -7200 # Node ID 3068ec951ffdb937a36ece372942b6de589b856d # Parent 27a99c289b90e294e5c1cfaaeb75b5676645fef3 portmanager: Import pairs diff -r 27a99c289b90 -r 3068ec951ffd core/portmanager.lua --- a/core/portmanager.lua Mon Apr 30 01:20:13 2012 +0100 +++ b/core/portmanager.lua Thu May 03 15:38:12 2012 +0200 @@ -7,7 +7,7 @@ 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;