view plugins/sql.lib.lua @ 6094:db2faeb151b6

plugins/muc/muc.lib: Factor `handle_to_occupant` out into many functions
author daurnimator <quae@daurnimator.com>
date Thu, 20 Feb 2014 16:50:18 -0500
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;