mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 14:17:37 +03:00
mod_admin_telnet: Add a command to configure pretty-printing settings
Sometimes you wanna adjust the maxdepth or something.
This commit is contained in:
parent
c38264dd58
commit
222299d18c
1 changed files with 5 additions and 0 deletions
|
@ -330,6 +330,11 @@ end
|
||||||
|
|
||||||
--luacheck: ignore 212/self
|
--luacheck: ignore 212/self
|
||||||
|
|
||||||
|
def_env.output = {};
|
||||||
|
function def_env.output:configure(opts)
|
||||||
|
self.session.serialize = serialization.new(opts);
|
||||||
|
end
|
||||||
|
|
||||||
def_env.server = {};
|
def_env.server = {};
|
||||||
|
|
||||||
function def_env.server:insane_reload()
|
function def_env.server:insane_reload()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue