view plugins/sql.lib.lua @ 6235:d433db49e353

plugins/muc/mod_muc: Use get_option_string instead of get_option and checking
author daurnimator <quae@daurnimator.com>
date Mon, 28 Apr 2014 16:33:54 -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;