diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-11-22 15:52:10 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-11-22 15:52:10 +0000 |
commit | 217d0135d1da5f00a8b21dcca8b61ff16dd126d0 (patch) | |
tree | 3e427379d7463fcf546ddc9318100d488a5d5908 /plugins/mod_admin_telnet.lua | |
parent | e4f2d5b6cd12d6f850ab39acb7a311efd9a2aaec (diff) | |
parent | c3b43754d587da5a1f8c474990ebcb3642deadab (diff) | |
download | prosody-217d0135d1da5f00a8b21dcca8b61ff16dd126d0.tar.gz prosody-217d0135d1da5f00a8b21dcca8b61ff16dd126d0.zip |
Merge 0.10->trunk
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 16b16e88..e2aaa7bc 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 |