Software /
code /
prosody
Comparison
plugins/mod_admin_telnet.lua @ 10252:aa3f98853816
mod_admin_telnet: Identify native bidi sessions
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 08 Sep 2019 18:51:15 +0200 |
parent | 10239:5c8526790a18 |
child | 10292:8fb546e40756 |
comparison
equal
deleted
inserted
replaced
10251:022d42e122d4 | 10252:aa3f98853816 |
---|---|
550 line[#line+1] = "(IPv6)"; | 550 line[#line+1] = "(IPv6)"; |
551 end | 551 end |
552 if session.remote then | 552 if session.remote then |
553 line[#line+1] = "(remote)"; | 553 line[#line+1] = "(remote)"; |
554 end | 554 end |
555 if session.is_bidi or session.bidi_session then | 555 if session.incoming and session.outgoing then |
556 line[#line+1] = "(bidi)"; | |
557 elseif session.is_bidi or session.bidi_session then | |
556 line[#line+1] = "(bidi)"; | 558 line[#line+1] = "(bidi)"; |
557 end | 559 end |
558 if session.bosh_version then | 560 if session.bosh_version then |
559 line[#line+1] = "(bosh)"; | 561 line[#line+1] = "(bosh)"; |
560 end | 562 end |