Software /
code /
prosody
Comparison
plugins/mod_admin_telnet.lua @ 4515:e2774644688d
mod_admin_telnet: (encrypted) is redundant in combination with (secure)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 05 Mar 2012 22:10:09 +0100 |
parent | 4514:ae48e0abc233 |
child | 4516:24bb3994df7a |
comparison
equal
deleted
inserted
replaced
4514:ae48e0abc233 | 4515:e2774644688d |
---|---|
488 end | 488 end |
489 | 489 |
490 local function session_flags(session, line) | 490 local function session_flags(session, line) |
491 if session.cert_identity_status == "valid" then | 491 if session.cert_identity_status == "valid" then |
492 line[#line+1] = "(secure)"; | 492 line[#line+1] = "(secure)"; |
493 end | 493 elseif session.secure then |
494 if session.secure then | |
495 line[#line+1] = "(encrypted)"; | 494 line[#line+1] = "(encrypted)"; |
496 end | 495 end |
497 if session.compressed then | 496 if session.compressed then |
498 line[#line+1] = "(compressed)"; | 497 line[#line+1] = "(compressed)"; |
499 end | 498 end |