Software /
code /
prosody
File
plugins/sql.lib.lua @ 5508:b7a8615e2be1
mod_c2s, mod_s2s, net.http, net.http.server: Improve tracebacks (omit traceback function), to make it clearer where an error occured
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 22 Apr 2013 12:35:52 +0100 |
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;