aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArc Riley <arcriley@gmail.com>2019-05-02 16:33:14 -0700
committerArc Riley <arcriley@gmail.com>2019-05-02 16:33:14 -0700
commitbbc0bd0b8aa6cca380e0e4b81a9ebc6051224b20 (patch)
treefadb9db4236ba116197046d6c86890b6c4bd92cd
parentcdea7586e4fc49b4a16b972f69adeeea1dd9136e (diff)
downloadprosody-bbc0bd0b8aa6cca380e0e4b81a9ebc6051224b20.tar.gz
prosody-bbc0bd0b8aa6cca380e0e4b81a9ebc6051224b20.zip
mod_admin_telnet: include BOSH connections in c2s session commands (#998)
-rw-r--r--plugins/mod_admin_telnet.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index c66630ca..5ee25771 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -591,6 +591,7 @@ end
local function show_c2s(callback)
local c2s = array.collect(values(module:shared"/*/c2s/sessions"));
+ c2s:append(values(module:shared"/*/bosh/sessions"));
c2s:sort(function(a, b)
if a.host == b.host then
if a.username == b.username then