aboutsummaryrefslogtreecommitdiffstats
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
commit5455ac95160af590c203abf162411c76762117f1 (patch)
tree66376a9fff9787f4bc6b0a5c9efc732a5c1db0a9
parentd4578e06775bd9bdb6bef6eaf9b5d1516bc77767 (diff)
downloadprosody-5455ac95160af590c203abf162411c76762117f1.tar.gz
prosody-5455ac95160af590c203abf162411c76762117f1.zip
portmanager: Import tonumber (thanks Zash)
-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;