mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 05:07:42 +03:00
mod_debug_sql: Declare itself as global module
This commit is contained in:
parent
b395681f11
commit
6508649368
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
|||
--
|
||||
-- luacheck: ignore 213/uri
|
||||
|
||||
module:set_global();
|
||||
|
||||
local engines = module:shared("/*/sql/connections");
|
||||
|
||||
for uri, engine in pairs(engines) do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue