File

plugins/sql.lib.lua @ 5569:c45997aebaa2

mod_pubsub: Remove nodeid check added in 989acb4ad1de that wasn't needed
author Kim Alvefur <zash@zash.se>
date Thu, 09 May 2013 11:13:18 +0200
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;