aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-07-26 21:10:42 +0200
committerKim Alvefur <zash@zash.se>2019-07-26 21:10:42 +0200
commit1ede2571be5c8c7fa75c1be64b9951b5898915e8 (patch)
tree5c8fc928a55b3daae6ee06a7cf73b20e7407b963 /plugins
parent54e39ab881929efad96e45c115e7d857b42f456b (diff)
downloadprosody-1ede2571be5c8c7fa75c1be64b9951b5898915e8.tar.gz
prosody-1ede2571be5c8c7fa75c1be64b9951b5898915e8.zip
mod_admin_telnet: Add c2s:count() to help
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_admin_telnet.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index a7ba41b8..40160765 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -246,6 +246,7 @@ function commands.help(session, data)
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