plugins/mod_admin_telnet.lua
changeset 10090 4ade3674baf0
parent 10089 bf51a08a94a7
child 10091 36d3709603d1
--- 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