diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-04-28 19:38:51 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-04-28 19:38:51 +0100 |
commit | 5455ac95160af590c203abf162411c76762117f1 (patch) | |
tree | 66376a9fff9787f4bc6b0a5c9efc732a5c1db0a9 /core/portmanager.lua | |
parent | d4578e06775bd9bdb6bef6eaf9b5d1516bc77767 (diff) | |
download | prosody-5455ac95160af590c203abf162411c76762117f1.tar.gz prosody-5455ac95160af590c203abf162411c76762117f1.zip |
portmanager: Import tonumber (thanks Zash)
Diffstat (limited to 'core/portmanager.lua')
-rw-r--r-- | core/portmanager.lua | 2 |
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; |