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
commit166033b48a434e08d404f45dcdd1a07a4a7fc2f1 (patch)
tree5c8fc928a55b3daae6ee06a7cf73b20e7407b963 /plugins
parent7c80b5b23e5a307ff4c62d49d0d98fd92e9908df (diff)
downloadprosody-166033b48a434e08d404f45dcdd1a07a4a7fc2f1.tar.gz
prosody-166033b48a434e08d404f45dcdd1a07a4a7fc2f1.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