Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
4806:27a99c289b90 | 4809:3068ec951ffd |
---|---|
5 local multitable = require "util.multitable"; | 5 local multitable = require "util.multitable"; |
6 local set = require "util.set"; | 6 local set = require "util.set"; |
7 | 7 |
8 local table, package = table, package; | 8 local table, package = table, package; |
9 local setmetatable, rawset, rawget = setmetatable, rawset, rawget; | 9 local setmetatable, rawset, rawget = setmetatable, rawset, rawget; |
10 local type, tonumber, ipairs = type, tonumber, ipairs; | 10 local type, tonumber, ipairs, pairs = type, tonumber, ipairs, pairs; |
11 | 11 |
12 local prosody = prosody; | 12 local prosody = prosody; |
13 local fire_event = prosody.events.fire_event; | 13 local fire_event = prosody.events.fire_event; |
14 | 14 |
15 module "portmanager"; | 15 module "portmanager"; |