Changeset

4789:bed0c6117358

portmanager: Import tonumber (thanks Zash)
author Matthew Wild <mwild1@gmail.com>
date Sat, 28 Apr 2012 19:38:51 +0100
parents 4788:e14f5a156571
children 4790:8bf710b19f65
files core/portmanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/portmanager.lua	Sat Apr 28 19:36:57 2012 +0100
+++ b/core/portmanager.lua	Sat Apr 28 19:38:51 2012 +0100
@@ -7,7 +7,7 @@
 
 local table, package = table, package;
 local setmetatable, rawset, rawget = setmetatable, rawset, rawget;
-local type = type;
+local type, tonumber = type, tonumber;
 
 local prosody = prosody;
 local fire_event = prosody.events.fire_event;