Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
6925:3c4799467dae | 6928:02717098cbba |
---|---|
510 line[#line+1] = "(sm)"; | 510 line[#line+1] = "(sm)"; |
511 end | 511 end |
512 if session.ip and session.ip:match(":") then | 512 if session.ip and session.ip:match(":") then |
513 line[#line+1] = "(IPv6)"; | 513 line[#line+1] = "(IPv6)"; |
514 end | 514 end |
515 if session.remote then | |
516 line[#line+1] = "(remote)"; | |
517 end | |
515 return table.concat(line, " "); | 518 return table.concat(line, " "); |
516 end | 519 end |
517 | 520 |
518 local function tls_info(session, line) | 521 local function tls_info(session, line) |
519 line = line or {}; | 522 line = line or {}; |