view plugins/sql.lib.lua @ 6426:e5945fb5b71f

mod_s2s: Close s2s connections that can not proceed due to mod_dialback not being present
author Kim Alvefur <zash@zash.se>
date Tue, 23 Sep 2014 19:41:10 +0200
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;