aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_telnet.lua
diff options
context:
space:
mode:
authorArc Riley <arcriley@gmail.com>2019-05-02 17:28:49 -0700
committerArc Riley <arcriley@gmail.com>2019-05-02 17:28:49 -0700
commited8b36a84b47e6ab21347d6cf9c616a69e0b3f7d (patch)
treea2d091ba94498f9c4061d485d0bf4d9e4a7599b9 /plugins/mod_admin_telnet.lua
parentbbc0bd0b8aa6cca380e0e4b81a9ebc6051224b20 (diff)
downloadprosody-ed8b36a84b47e6ab21347d6cf9c616a69e0b3f7d.tar.gz
prosody-ed8b36a84b47e6ab21347d6cf9c616a69e0b3f7d.zip
mod_admin_telnet: added "(bosh)" and "(websocket)" connection flags (#998)
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r--plugins/mod_admin_telnet.lua6
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