File

plugins/sql.lib.lua @ 6165:6a184b16b717

core.certmanager, core.moduleapi, mod_storage_sql, mod_storage_sql2: Import from util.paths
author Kim Alvefur <zash@zash.se>
date Fri, 09 May 2014 19:35:29 +0200
parent 5494:9916f0a2d178
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;