Diff

plugins/mod_admin_telnet.lua @ 9987:521fb218098d

mod_admin_telnet: include BOSH connections in c2s session commands (#998)
author Arc Riley <arcriley@gmail.com>
date Thu, 02 May 2019 16:33:14 -0700
parent 9974:c30933aa0242
child 9988:cdf0b63a0d61
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua	Mon Apr 29 17:27:08 2019 +0200
+++ b/plugins/mod_admin_telnet.lua	Thu May 02 16:33:14 2019 -0700
@@ -591,6 +591,7 @@
 
 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