aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_telnet.lua
diff options
context:
space:
mode:
authorMaxime ?pep? Buquet <pep@bouah.net>2018-12-18 20:23:33 +0000
committerMaxime ?pep? Buquet <pep@bouah.net>2018-12-18 20:23:33 +0000
commit91e23f83983af91b65287c209caa54f9027a6487 (patch)
treea73090843636f1c47ea34ebc3b42fda677d996b5 /plugins/mod_admin_telnet.lua
parent5a5eaeb30c4d75294fb4697d483c379421e024d5 (diff)
downloadprosody-91e23f83983af91b65287c209caa54f9027a6487.tar.gz
prosody-91e23f83983af91b65287c209caa54f9027a6487.zip
admin_telnet: show when bidi is used on s2s
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r--plugins/mod_admin_telnet.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index 8a3508db..63136d63 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -521,6 +521,9 @@ local function session_flags(session, line)
if session.remote then
line[#line+1] = "(remote)";
end
+ if session.is_bidi then
+ line[#line+1] = "(bidi)";
+ end
return table.concat(line, " ");
end