# HG changeset patch # User Matthew Wild # Date 1335638331 -3600 # Node ID bed0c6117358d47b368094bd21629ce2fe166fed # Parent e14f5a156571be9c06a40f2a0167b962dc84469c portmanager: Import tonumber (thanks Zash) diff -r e14f5a156571 -r bed0c6117358 core/portmanager.lua --- 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;