diff options
author | Kim Alvefur <zash@zash.se> | 2017-11-18 20:15:19 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-11-18 20:15:19 +0100 |
commit | 65086493687c8c09f08a6cda35a10925ff793a30 (patch) | |
tree | 75ea39956c2a2bc995c7d6448274cc26300e8b22 /plugins/mod_debug_sql.lua | |
parent | b395681f115a39143fec23ea8c767c9969bb7db8 (diff) | |
download | prosody-65086493687c8c09f08a6cda35a10925ff793a30.tar.gz prosody-65086493687c8c09f08a6cda35a10925ff793a30.zip |
mod_debug_sql: Declare itself as global module
Diffstat (limited to 'plugins/mod_debug_sql.lua')
-rw-r--r-- | plugins/mod_debug_sql.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_debug_sql.lua b/plugins/mod_debug_sql.lua index 7bbbbd88..74cc2f68 100644 --- a/plugins/mod_debug_sql.lua +++ b/plugins/mod_debug_sql.lua @@ -2,6 +2,8 @@ -- -- luacheck: ignore 213/uri +module:set_global(); + local engines = module:shared("/*/sql/connections"); for uri, engine in pairs(engines) do |