aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_limits.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-04-29 22:23:05 +0200
committerKim Alvefur <zash@zash.se>2020-04-29 22:23:05 +0200
commitedce14b4a40664a6f10239d7f2ef50421f6a93af (patch)
tree23ac15702d28ba1b474eab4f39ebbb577f6df9f8 /plugins/mod_limits.lua
parentb966c976903eecced5a16826ef2da07cb011809f (diff)
downloadprosody-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_limits.lua')
0 files changed, 0 insertions, 0 deletions