diff options
author | Michel Le Bihan <michel@lebihan.pl> | 2019-06-03 20:51:15 +0200 |
---|---|---|
committer | Michel Le Bihan <michel@lebihan.pl> | 2019-06-03 20:51:15 +0200 |
commit | 2bb05d010d9b237a088bd9b4c997451407191d3f (patch) | |
tree | e3d5bb8803d6b3999056d4096e18de7b4973cbda /plugins/mod_admin_telnet.lua | |
parent | 331336cd83ae38f8f963abd61951912127a3c250 (diff) | |
download | prosody-2bb05d010d9b237a088bd9b4c997451407191d3f.tar.gz prosody-2bb05d010d9b237a088bd9b4c997451407191d3f.zip |
mod_admin_telnet: Collect array from Bosh connections when appending to connection list
Fixes #1356
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r-- | plugins/mod_admin_telnet.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index 0fbd3ff9..fa03840b 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -597,7 +597,7 @@ end local function show_c2s(callback) local c2s = array.collect(values(module:shared"/*/c2s/sessions")); - c2s:append(values(module:shared"/*/bosh/sessions")); + c2s:append(array.collect(values(module:shared"/*/bosh/sessions"))); c2s:sort(function(a, b) if a.host == b.host then if a.username == b.username then |