From 53ab26d52831cce03092a0c120cf95276c52ac28 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 28 Apr 2012 19:38:51 +0100 Subject: portmanager: Import tonumber (thanks Zash) --- core/portmanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/portmanager.lua') diff --git a/core/portmanager.lua b/core/portmanager.lua index 5f53b61c..fed35987 100644 --- a/core/portmanager.lua +++ b/core/portmanager.lua @@ -7,7 +7,7 @@ local set = require "util.set"; 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; -- cgit v1.2.3