Software /
code /
prosody
Diff
plugins/mod_admin_telnet.lua @ 9711:39dc037875e1
admin_telnet: show when bidi is used on s2s
author | Maxime “pep” Buquet <pep@bouah.net> |
---|---|
date | Tue, 18 Dec 2018 20:23:33 +0000 |
parent | 9691:e11e076f0eb8 |
child | 9734:cc01bb7a3305 |
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua Mon Dec 17 15:42:54 2018 +0100 +++ b/plugins/mod_admin_telnet.lua Tue Dec 18 20:23:33 2018 +0000 @@ -521,6 +521,9 @@ if session.remote then line[#line+1] = "(remote)"; end + if session.is_bidi then + line[#line+1] = "(bidi)"; + end return table.concat(line, " "); end