aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
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;