Mercurial > prosody-hg
view plugins/sql.lib.lua @ 8844:29c6d2681bad 0.9.14
mod_c2s: Do not allow the stream 'to' to change across stream restarts (fixes #1147)
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 25 May 2018 21:09:34 +0200 |
| 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;
