diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-04-05 13:06:26 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-04-05 13:06:26 +0100 |
commit | 93f34b7d58bc5022998afb346fccd0fc992ce094 (patch) | |
tree | f844680a5fbcb9b0799257c96f87b6d9d2ed17bb /core | |
parent | a115da90578ef0e91e7fb911421142552a4e8e4a (diff) | |
download | prosody-93f34b7d58bc5022998afb346fccd0fc992ce094.tar.gz prosody-93f34b7d58bc5022998afb346fccd0fc992ce094.zip |
portmanager: import pairs() (thanks Maranda)
Diffstat (limited to 'core')
-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 1b3740cf..1b767a09 100644 --- a/core/portmanager.lua +++ b/core/portmanager.lua @@ -9,7 +9,7 @@ local set = require "util.set"; 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; |