Diff

core/certmanager.lua @ 2738:e253dd4714d5

certmanager: Fix nil global access (thanks Marc)
author Matthew Wild <mwild1@gmail.com>
date Fri, 05 Mar 2010 14:49:56 +0000
parent 2733:65ad0fdb17ba
child 2739:7339c2720b39
line wrap: on
line diff
--- a/core/certmanager.lua	Tue Mar 02 00:51:27 2010 +0500
+++ b/core/certmanager.lua	Fri Mar 05 14:49:56 2010 +0000
@@ -3,7 +3,7 @@
 local ssl = ssl;
 local ssl_newcontext = ssl and ssl.newcontext;
 
-local setmetatable = setmetatable;
+local setmetatable, tostring = setmetatable, tostring;
 
 local prosody = prosody;