Mercurial > prosody-modules
diff mod_rawdebug/mod_rawdebug.lua @ 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 | 56c394b9e60d |
children | c5c583fae25d |
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;