prosody/plugins/sql.lib.lua

9 lines
180 B
Lua

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;