view plugins/sql.lib.lua @ 6142:a6e526c00e6e

plugins/muc/muc.lib: Have timestamp as seconds since epoch inside of history
author daurnimator <quae@daurnimator.com>
date Thu, 27 Mar 2014 18:10:34 -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;