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 | c96c44f64d7d49463ab5779fb028ba7a349310af (patch) | |
tree | 75ea39956c2a2bc995c7d6448274cc26300e8b22 | |
parent | 2b87305e904ea6d364ba072be3c409fb0b933dd4 (diff) | |
download | prosody-c96c44f64d7d49463ab5779fb028ba7a349310af.tar.gz prosody-c96c44f64d7d49463ab5779fb028ba7a349310af.zip |
mod_debug_sql: Declare itself as global module
-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 |