plugins/sql.lib.lua
author Kim Alvefur <zash@zash.se>
Tue, 21 Oct 2014 16:41:28 +0200
changeset 6496 4e51b5e81bdd
parent 5494 9916f0a2d178
permissions -rw-r--r--
mod_saslauth: Better name for config option

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;