diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-04-29 19:31:44 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-04-29 19:31:44 +0100 |
commit | 4773db2341d82440e88279935ed5cff8cdcfb196 (patch) | |
tree | ad2f073ac18b7a9a6520f2acddcd464d0eb604f5 /core/portmanager.lua | |
parent | 15c75e5a4ba27bb9288ab13cf3a167bacc09c9c1 (diff) | |
download | prosody-4773db2341d82440e88279935ed5cff8cdcfb196.tar.gz prosody-4773db2341d82440e88279935ed5cff8cdcfb196.zip |
portmanager: Import ipairs (thanks Maranda)
Diffstat (limited to 'core/portmanager.lua')
-rw-r--r-- | core/portmanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua index fed35987..876543e3 100644 --- a/core/portmanager.lua +++ b/core/portmanager.lua @@ -7,7 +7,7 @@ local set = require "util.set"; 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; |