mod_admin_telnet: Add a command to configure pretty-printing settings

Sometimes you wanna adjust the maxdepth or something.
This commit is contained in:
Kim Alvefur 2020-04-29 23:15:01 +02:00
parent c38264dd58
commit 222299d18c

View file

@ -330,6 +330,11 @@ end
--luacheck: ignore 212/self
def_env.output = {};
function def_env.output:configure(opts)
self.session.serialize = serialization.new(opts);
end
def_env.server = {};
function def_env.server:insane_reload()