aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_shell.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-02-15 22:14:40 +0100
committerKim Alvefur <zash@zash.se>2022-02-15 22:14:40 +0100
commit89c2a5ac30f37c932f2f9d1d8a268ee781a91f20 (patch)
treead0d2c4438d7e9e07b4f09e0650ce3ff4c1710a0 /plugins/mod_admin_shell.lua
parent84f93f23366427fd6363d01a36f983a06512d33e (diff)
downloadprosody-89c2a5ac30f37c932f2f9d1d8a268ee781a91f20.tar.gz
prosody-89c2a5ac30f37c932f2f9d1d8a268ee781a91f20.zip
mod_admin_shell: Fix description of muc:room() (thanks Link Mauve)
But then this is the internal API which is weird and unfriendly to expose externally. Lots of methods to wrap tho ... one day.
Diffstat (limited to 'plugins/mod_admin_shell.lua')
-rw-r--r--plugins/mod_admin_shell.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua
index a8da5c09..41ea63d2 100644
--- a/plugins/mod_admin_shell.lua
+++ b/plugins/mod_admin_shell.lua
@@ -274,7 +274,7 @@ function commands.help(session, data)
-- TODO `muc:room():foo()` commands
print [[muc:create(roomjid, { config }) - Create the specified MUC room with the given config]]
print [[muc:list(host) - List rooms on the specified MUC component]]
- print [[muc:room(roomjid) - Create the specified MUC room with the given config]]
+ print [[muc:room(roomjid) - Reference the specified MUC room to access MUC API methods]]
elseif section == "server" then
print [[server:version() - Show the server's version number]]
print [[server:uptime() - Show how long the server has been running]]