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 | 53ab26d52831cce03092a0c120cf95276c52ac28 (patch) | |
tree | 66376a9fff9787f4bc6b0a5c9efc732a5c1db0a9 | |
parent | 2f5ffa76dcb1a7a5968b8cb4d5a20041b7d81d56 (diff) | |
download | prosody-53ab26d52831cce03092a0c120cf95276c52ac28.tar.gz prosody-53ab26d52831cce03092a0c120cf95276c52ac28.zip |
portmanager: Import tonumber (thanks Zash)
-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; |