Software /
code /
prosody
Diff
core/portmanager.lua @ 4809:3068ec951ffd
portmanager: Import pairs
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 03 May 2012 15:38:12 +0200 |
parent | 4800:7ce502f21270 |
child | 4856:3e3e282f20a3 |
line wrap: on
line diff
--- 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;