view plugins/sql.lib.lua @ 5879:95f1d5421fbc

util.timer: Fix another variable name typo (thanks again zash).
author Waqas Hussain <waqas20@gmail.com>
date Wed, 30 Oct 2013 17:56:00 -0400
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;