diff options
author | Kim Alvefur <zash@zash.se> | 2020-04-29 22:23:05 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-04-29 22:23:05 +0200 |
commit | edce14b4a40664a6f10239d7f2ef50421f6a93af (patch) | |
tree | 23ac15702d28ba1b474eab4f39ebbb577f6df9f8 /plugins/mod_user_account_management.lua | |
parent | b966c976903eecced5a16826ef2da07cb011809f (diff) | |
download | prosody-edce14b4a40664a6f10239d7f2ef50421f6a93af.tar.gz prosody-edce14b4a40664a6f10239d7f2ef50421f6a93af.zip |
mod_admin_telnet: Pretty-print values returned from commands
This makes it much nicer to inspect Prosody internals.
Existing textual status messages from commands are not serialized to
preserve existing behavior. Explicit serialization of configuration is
kept in order to make it clear that returned strings are serialized
strings that would look like what's actually in the config file.
The default maxdepth of 2 seems ought to be an okay default, balanced
between showing enough structure to continue exploring and DoS-ing your
terminal.
Thanks to Ge0rG for the motivation to finally do this.
Diffstat (limited to 'plugins/mod_user_account_management.lua')
0 files changed, 0 insertions, 0 deletions