Mercurial > prosody-hg
view plugins/sql.lib.lua @ 6253:2df9e7a67e56
plugins/muc/muc.lib: Even unavailable session need to be routed to sometimes (e.g. their own leave)
| author | daurnimator <quae@daurnimator.com> |
|---|---|
| date | Wed, 21 May 2014 13:19:57 -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;
