view plugins/sql.lib.lua @ 6194:9b6c2d89f143

plugins/muc/muc.lib: Tidy up muc-invite event. - Send inside of the actual handle_invite function - Move password, compat and body tagging into event handlers
author daurnimator <quae@daurnimator.com>
date Mon, 31 Mar 2014 12:31:15 -0400
parents 9916f0a2d178
children
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;