mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
9 lines
180 B
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;
|