diff options
author | Arc Riley <arcriley@gmail.com> | 2019-05-02 17:28:49 -0700 |
---|---|---|
committer | Arc Riley <arcriley@gmail.com> | 2019-05-02 17:28:49 -0700 |
commit | cdbb6348f6536cb270544c933f3e45ccf66ef585 (patch) | |
tree | a2d091ba94498f9c4061d485d0bf4d9e4a7599b9 /plugins | |
parent | 30ef8e7ac46587732ab469e9775229e8d78e1845 (diff) | |
download | prosody-cdbb6348f6536cb270544c933f3e45ccf66ef585.tar.gz prosody-cdbb6348f6536cb270544c933f3e45ccf66ef585.zip |
mod_admin_telnet: added "(bosh)" and "(websocket)" connection flags (#998)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_admin_telnet.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index 5ee25771..248d6b07 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -554,6 +554,12 @@ local function session_flags(session, line) if session.is_bidi then line[#line+1] = "(bidi)"; end + if session.bosh_version then + line[#line+1] = "(bosh)"; + end + if session.websocket_request then + line[#line+1] = "(websocket)"; + end return table.concat(line, " "); end |