Changeset

4800:7ce502f21270

portmanager: Import ipairs (thanks Maranda)
author Matthew Wild <mwild1@gmail.com>
date Sun, 29 Apr 2012 19:31:44 +0100
parents 4799:1537bf7f9618
children 4801:83cedf648b46
files core/portmanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/portmanager.lua	Sun Apr 29 02:44:09 2012 +0100
+++ b/core/portmanager.lua	Sun Apr 29 19:31:44 2012 +0100
@@ -7,7 +7,7 @@
 
 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;