# HG changeset patch # User Kim Alvefur # Date 1564168242 -7200 # Node ID 4ade3674baf0310186a2247b3a6341290042d056 # Parent bf51a08a94a7a11d4a96b29c094f7ba7cf02f75e mod_admin_telnet: Add c2s:count() to help diff -r bf51a08a94a7 -r 4ade3674baf0 plugins/mod_admin_telnet.lua --- 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