aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-28 19:38:51 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-28 19:38:51 +0100
commit53ab26d52831cce03092a0c120cf95276c52ac28 (patch)
tree66376a9fff9787f4bc6b0a5c9efc732a5c1db0a9 /core
parent2f5ffa76dcb1a7a5968b8cb4d5a20041b7d81d56 (diff)
downloadprosody-53ab26d52831cce03092a0c120cf95276c52ac28.tar.gz
prosody-53ab26d52831cce03092a0c120cf95276c52ac28.zip
portmanager: Import tonumber (thanks Zash)
Diffstat (limited to 'core')
-rw-r--r--core/portmanager.lua2
1 files changed, 1 insertions, 1 deletions
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;