Software /
code /
prosody
Diff
core/portmanager.lua @ 4800:7ce502f21270
portmanager: Import ipairs (thanks Maranda)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 29 Apr 2012 19:31:44 +0100 |
parent | 4789:bed0c6117358 |
child | 4809:3068ec951ffd |
line wrap: on
line diff
--- a/core/portmanager.lua Sun Apr 29 02:44:09 2012 +0100 +++ b/core/portmanager.lua Sun Apr 29 19:31:44 2012 +0100 @@ -7,7 +7,7 @@ local table, package = table, package; local setmetatable, rawset, rawget = setmetatable, rawset, rawget; -local type, tonumber = type, tonumber; +local type, tonumber, ipairs = type, tonumber, ipairs; local prosody = prosody; local fire_event = prosody.events.fire_event;