view plugins/sql.lib.lua @ 6612:6cc48b51d699

prosodyctl: Use ssl.loadcertificate instead of ssl.x509.load, as the ssl.x509 export dissapears in 97b1974 or 356e03a
author Kim Alvefur <zash@zash.se>
date Thu, 02 Apr 2015 14:31:41 +0200
parents 9916f0a2d178
children
line wrap: on
line source

local cache = module:shared("/*/sql.lib/util.sql");

if not cache._M then
	prosody.unlock_globals();
	cache._M = require "util.sql";
	prosody.lock_globals();
end

return cache._M;