Changeset

10086:4ade3674baf0

mod_admin_telnet: Add c2s:count() to help
author Kim Alvefur <zash@zash.se>
date Fri, 26 Jul 2019 21:10:42 +0200
parents 10085:bf51a08a94a7
children 10087:36d3709603d1
files plugins/mod_admin_telnet.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua	Fri Jul 26 21:06:47 2019 +0200
+++ b/plugins/mod_admin_telnet.lua	Fri Jul 26 21:10:42 2019 +0200
@@ -246,6 +246,7 @@
 		print [[c2s:show_insecure() - Show all unencrypted client connections]]
 		print [[c2s:show_secure() - Show all encrypted client connections]]
 		print [[c2s:show_tls() - Show TLS cipher info for encrypted sessions]]
+		print [[c2s:count() - Count sessions without listing them]]
 		print [[c2s:close(jid) - Close all sessions for the specified JID]]
 		print [[c2s:closeall() - Close all active c2s connections ]]
 	elseif section == "s2s" then