aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-11-18 20:15:19 +0100
committerKim Alvefur <zash@zash.se>2017-11-18 20:15:19 +0100
commitc96c44f64d7d49463ab5779fb028ba7a349310af (patch)
tree75ea39956c2a2bc995c7d6448274cc26300e8b22 /plugins
parent2b87305e904ea6d364ba072be3c409fb0b933dd4 (diff)
downloadprosody-c96c44f64d7d49463ab5779fb028ba7a349310af.tar.gz
prosody-c96c44f64d7d49463ab5779fb028ba7a349310af.zip
mod_debug_sql: Declare itself as global module
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_debug_sql.lua2
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