Comparison

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
comparison
equal deleted inserted replaced
4799:1537bf7f9618 4800:7ce502f21270
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 = type, tonumber; 10 local type, tonumber, ipairs = type, tonumber, ipairs;
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";