aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sql.lib.lua
blob: 005ee45d611a4c0677dbfab9e66cb1ae14e07c2f (plain)
1
2
3
4
5
6
7
8
9
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;