# HG changeset patch # User Kim Alvefur # Date 1598099673 -7200 # Node ID d00bfa75999dcca94e938254dfc84cc15fe1af36 # Parent c560531d9a6e262e33053f78401ad0a7170560f1 mod_admin_shell: Report CSI state in c2s:show() diff -r c560531d9a6e -r d00bfa75999d plugins/mod_admin_shell.lua --- 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