Software /
code /
prosody
Diff
plugins/mod_admin_telnet.lua @ 6928:02717098cbba
Merge 0.10->trunk
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 22 Nov 2015 15:52:10 +0000 |
parent | 6839:298182fd2387 |
parent | 6927:566e1cfcb814 |
child | 6936:2ca1d54d4b92 |
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua Tue Nov 17 17:12:45 2015 +0000 +++ b/plugins/mod_admin_telnet.lua Sun Nov 22 15:52:10 2015 +0000 @@ -512,6 +512,9 @@ 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