aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-08-22 14:34:33 +0200
committerKim Alvefur <zash@zash.se>2020-08-22 14:34:33 +0200
commit460a55c86eb3ab164c54c7b49fe1b84d78520b85 (patch)
treeddd4cfc433527db03738f755b78f541e937f28e5
parentfb6c098ed661d4bd14f1a0515e4ae6b110c76b19 (diff)
downloadprosody-460a55c86eb3ab164c54c7b49fe1b84d78520b85.tar.gz
prosody-460a55c86eb3ab164c54c7b49fe1b84d78520b85.zip
mod_admin_shell: Report CSI state in c2s:show()
-rw-r--r--plugins/mod_admin_shell.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua
index 2db0cbb0..3650e7f6 100644
--- a/plugins/mod_admin_shell.lua
+++ b/plugins/mod_admin_shell.lua
@@ -543,6 +543,9 @@ local function session_flags(session, line)
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