aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2016-02-18 13:48:45 +0000
committerMatthew Wild <mwild1@gmail.com>2016-02-18 13:48:45 +0000
commite169a3f1c53e68486428f55f7ba9d40a5c21932f (patch)
tree44abb6a49b27925fab343ec9832f95cc0388ef26
parent63b4f27dfb4611859e9115a67ad72420bf5217b8 (diff)
downloadprosody-e169a3f1c53e68486428f55f7ba9d40a5c21932f.tar.gz
prosody-e169a3f1c53e68486428f55f7ba9d40a5c21932f.zip
certmanager: Localize tonumber
-rw-r--r--core/certmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index 978a9efc..a4c9d891 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -25,7 +25,7 @@ local ssl_newcontext = ssl.newcontext;
local new_config = require"util.sslconfig".new;
local stat = require "lfs".attributes;
-local tostring = tostring;
+local tonumber, tostring = tonumber, tostring;
local pairs = pairs;
local type = type;
local io_open = io.open;