File

plugins/sql.lib.lua @ 6864:0129ffcaa7ab

mod_pep: Document data structures, so I don't have to spend time remembering every time I work on this module
author Matthew Wild <mwild1@gmail.com>
date Fri, 04 Sep 2015 11:26:51 +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;