File

plugins/sql.lib.lua @ 5612:5404832d6f7a

mod_muc: Use stanza:maptags() instead of custom filtering functions, 7 insertions, 19 deletions!
author Matthew Wild <mwild1@gmail.com>
date Tue, 21 May 2013 09:57:36 +0100
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;