Software /
code /
prosody
Diff
spec/util_debug_spec.lua @ 11604:7466bf65d7c8
mod_admin_shell: module:info: Use existing host string representation
Hosts have a metatable __tostring method that produces a nice
representation such as `VirtualHost "example.com"`, which even includes
the component module for internal components.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 12 Jun 2021 16:47:30 +0200 |
parent | 11177:37dc2a6144d1 |