Software /
code /
prosody
Comparison
core/portmanager.lua @ 5432:53b16286509a
portmanager: import pairs() (thanks Maranda)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 05 Apr 2013 13:06:26 +0100 |
parent | 5426:1b20095eb230 |
child | 5549:cce17bcb7c94 |
comparison
equal
deleted
inserted
replaced
5430:0ad8c623a81a | 5432:53b16286509a |
---|---|
7 local multitable = require "util.multitable"; | 7 local multitable = require "util.multitable"; |
8 local set = require "util.set"; | 8 local set = require "util.set"; |
9 | 9 |
10 local table = table; | 10 local table = table; |
11 local setmetatable, rawset, rawget = setmetatable, rawset, rawget; | 11 local setmetatable, rawset, rawget = setmetatable, rawset, rawget; |
12 local type, tonumber, tostring, ipairs = type, tonumber, tostring, ipairs; | 12 local type, tonumber, tostring, ipairs, pairs = type, tonumber, tostring, ipairs, pairs; |
13 | 13 |
14 local prosody = prosody; | 14 local prosody = prosody; |
15 local fire_event = prosody.events.fire_event; | 15 local fire_event = prosody.events.fire_event; |
16 | 16 |
17 module "portmanager"; | 17 module "portmanager"; |