aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_debug_sql.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-11-20 02:22:09 +0100
committerKim Alvefur <zash@zash.se>2017-11-20 02:22:09 +0100
commitf271418b3a61c37d0b74b5d6975b6c12f2667345 (patch)
tree94dfc9879b58e8282a37d596ac225b9832af260a /plugins/mod_debug_sql.lua
parentbc639cfc91085d7714adb70046e6d324a90b13f2 (diff)
parent9690a86204e8f78d9ae7d441874c0a571a9ee45a (diff)
downloadprosody-f271418b3a61c37d0b74b5d6975b6c12f2667345.tar.gz
prosody-f271418b3a61c37d0b74b5d6975b6c12f2667345.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_debug_sql.lua')
-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