File

plugins/sql.lib.lua @ 5650:aa3465183b01

mod_bosh: Remove logging of request.id, it doesn't exist in the new HTTP server API (thanks Mikael Nordfeldth)
author Matthew Wild <mwild1@gmail.com>
date Fri, 07 Jun 2013 13:22:13 +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;