# HG changeset patch # User Matthew Wild # Date 1448206282 0 # Node ID 566e1cfcb814561fc9161470f61fb2c3a693a92a # Parent d96b2aa7a11dc9ef6b1889c137c5c752792b6ccb mod_admin_telnet: c2s:show(): Add flag to indicate remote sessions diff -r d96b2aa7a11d -r 566e1cfcb814 plugins/mod_admin_telnet.lua --- a/plugins/mod_admin_telnet.lua Sun Nov 22 15:30:27 2015 +0000 +++ b/plugins/mod_admin_telnet.lua Sun Nov 22 15:31:22 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