aboutsummaryrefslogtreecommitdiffstats
path: root/net/http/errors.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-06-12 16:47:30 +0200
committerKim Alvefur <zash@zash.se>2021-06-12 16:47:30 +0200
commit4e2fc4ce89edbc556b9ecba20ae32ddd810b65c4 (patch)
treec0cc87ffd9eb54f37e5f5b05f5b111dee33dc5e2 /net/http/errors.lua
parent98aa4ec604a5cfda0e3f9a91c7104857f594e741 (diff)
downloadprosody-4e2fc4ce89edbc556b9ecba20ae32ddd810b65c4.tar.gz
prosody-4e2fc4ce89edbc556b9ecba20ae32ddd810b65c4.zip
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.
Diffstat (limited to 'net/http/errors.lua')
0 files changed, 0 insertions, 0 deletions