Changeset

1445:ae1d7665cde9

mod_rawdebug: Make global (like mod_admin_telnet)
author Kim Alvefur <zash@zash.se>
date Mon, 23 Jun 2014 20:25:08 +0200
parents 1444:56c394b9e60d
children 1446:843769eb40c3
files mod_rawdebug/mod_rawdebug.lua
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_rawdebug/mod_rawdebug.lua	Mon Jun 23 20:22:19 2014 +0200
+++ b/mod_rawdebug/mod_rawdebug.lua	Mon Jun 23 20:25:08 2014 +0200
@@ -1,8 +1,9 @@
+module:set_global();
 
 local tostring = tostring;
 local filters = require "util.filters";
 
-local def_env = module:shared("/*/admin_telnet/env");
+local def_env = module:shared("admin_telnet/env");
 local rawdebug_enabled = module:shared("sessions");
 local full_sessions = prosody.full_sessions;
 local log = module._log;