diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-11-22 15:31:22 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-11-22 15:31:22 +0000 |
commit | c3b43754d587da5a1f8c474990ebcb3642deadab (patch) | |
tree | 8a22f86f0dc59cd10a5be84eef4bd2786bc67fa4 /plugins/mod_admin_telnet.lua | |
parent | 68b9f291318cf704fdad177751223443a83bec75 (diff) | |
download | prosody-c3b43754d587da5a1f8c474990ebcb3642deadab.tar.gz prosody-c3b43754d587da5a1f8c474990ebcb3642deadab.zip |
mod_admin_telnet: c2s:show(): Add flag to indicate remote sessions
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r-- | plugins/mod_admin_telnet.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index 6a5f87d4..16bc786d 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -512,6 +512,9 @@ local function session_flags(session, line) if session.ip and session.ip:match(":") then line[#line+1] = "(IPv6)"; end + if session.remote then + line[#line+1] = "(remote)"; + end return table.concat(line, " "); end |