plugins/sql.lib.lua
author Matthew Wild <mwild1@gmail.com>
Thu, 25 Apr 2013 20:36:55 +0100
changeset 5519 06e188268df1
parent 5494 9916f0a2d178
permissions -rw-r--r--
MUC: add __tostring on room metatable

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;