Software /
code /
prosody
File
plugins/sql.lib.lua @ 6259:36f611624987
mod_s2s: Fire a 's2s-created' event when new s2s connections are initialized
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 24 May 2014 11:17:26 +0200 |
parent | 5494:9916f0a2d178 |
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;