Software /
code /
prosody
Changeset
11041:d00bfa75999d
mod_admin_shell: Report CSI state in c2s:show()
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 22 Aug 2020 14:34:33 +0200 |
parents | 11040:c560531d9a6e |
children | 11042:8a243ab49cb5 |
files | plugins/mod_admin_shell.lua |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_admin_shell.lua Mon Aug 17 00:24:11 2020 +0200 +++ b/plugins/mod_admin_shell.lua Sat Aug 22 14:34:33 2020 +0200 @@ -543,6 +543,9 @@ if session.smacks then line[#line+1] = "(sm)"; end + if session.state then + line[#line+1] = string.format("(csi:%s)", session.state); + end if session.ip and session.ip:match(":") then line[#line+1] = "(IPv6)"; end