Changeset

8391:5edb0d01a94f

mod_debug_sql: Declare itself as global module
author Kim Alvefur <zash@zash.se>
date Sat, 18 Nov 2017 20:15:19 +0100
parents 8388:9ee56e9ad47a
children 8403:ba39d3a1d42e
files plugins/mod_debug_sql.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_debug_sql.lua	Fri Nov 10 07:11:03 2017 +0100
+++ b/plugins/mod_debug_sql.lua	Sat Nov 18 20:15:19 2017 +0100
@@ -2,6 +2,8 @@
 --
 -- luacheck: ignore 213/uri
 
+module:set_global();
+
 local engines = module:shared("/*/sql/connections");
 
 for uri, engine in pairs(engines) do