view plugins/sql.lib.lua @ 6274:77bdbaec3b7f

plugins/muc/muc.lib: Don't add invite/decline bodies if they already have one
author daurnimator <quae@daurnimator.com>
date Fri, 06 Jun 2014 14:34:01 -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;