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
commit65086493687c8c09f08a6cda35a10925ff793a30 (patch)
tree75ea39956c2a2bc995c7d6448274cc26300e8b22 /plugins
parentb395681f115a39143fec23ea8c767c9969bb7db8 (diff)
downloadprosody-65086493687c8c09f08a6cda35a10925ff793a30.tar.gz
prosody-65086493687c8c09f08a6cda35a10925ff793a30.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