From 89c2a5ac30f37c932f2f9d1d8a268ee781a91f20 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 15 Feb 2022 22:14:40 +0100 Subject: 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. --- plugins/mod_admin_shell.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]] -- cgit v1.2.3