plugins/sql.lib.lua
author Kim Alvefur <zash@zash.se>
Sun, 28 Apr 2013 16:22:01 +0200
changeset 5532 d5cbcdcdb2f7
parent 5494 9916f0a2d178
permissions -rw-r--r--
prosodyctl: Put keys and certificates in ./certs when in a source checkout

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;