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
commitfcfc09d01b44dfc731d04ac87a2fd3bb010a5658 (patch)
treeddd4cfc433527db03738f755b78f541e937f28e5
parent651d90a762573d8f2583d34d261e2ecab3bc7183 (diff)
downloadprosody-fcfc09d01b44dfc731d04ac87a2fd3bb010a5658.tar.gz
prosody-fcfc09d01b44dfc731d04ac87a2fd3bb010a5658.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