plugins/sql.lib.lua
author Kim Alvefur <zash@zash.se>
Fri, 09 Aug 2013 16:03:17 +0200
changeset 5774 6ef79af0c445
parent 5494 9916f0a2d178
permissions -rw-r--r--
util.hashes: Silence compiler warning about pointer signedness

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;