File

plugins/sql.lib.lua @ 6103:25ba4e2b31b3

plugins/muc/muc: Check for mediated invites in a smarter way
author daurnimator <quae@daurnimator.com>
date Tue, 18 Mar 2014 14:56:20 -0400
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;