diff options
author | Matthew Wild <mwild1@gmail.com> | 2025-01-14 12:26:14 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2025-01-14 12:26:14 +0000 |
commit | 918e8f51e82cd26898d0a3aa8d178ad50fc7e922 (patch) | |
tree | 12dcbb35d050eaee1085ee9889f9474f92f7f62e /plugins/mod_pubsub | |
parent | cafbad2d01c507a0df2c77e474d29f0e1a60cc00 (diff) | |
download | prosody-918e8f51e82cd26898d0a3aa8d178ad50fc7e922.tar.gz prosody-918e8f51e82cd26898d0a3aa8d178ad50fc7e922.zip |
mod_pubsub: Remove duplicate create_node command
Removed the one without error handling.
Diffstat (limited to 'plugins/mod_pubsub')
-rw-r--r-- | plugins/mod_pubsub/commands.lib.lua | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/plugins/mod_pubsub/commands.lib.lua b/plugins/mod_pubsub/commands.lib.lua index 59bddec8..d07b226f 100644 --- a/plugins/mod_pubsub/commands.lib.lua +++ b/plugins/mod_pubsub/commands.lib.lua @@ -7,22 +7,6 @@ local function add_commands(get_service) module:add_item("shell-command", { section = "pubsub"; section_desc = "Manage publish/subscribe nodes"; - name = "create_node"; - desc = "Create a node with the specified name"; - args = { - { name = "service_jid", type = "string" }; - { name = "node_name", type = "string" }; - }; - host_selector = "service_jid"; - - handler = function (self, service_jid, node_name) --luacheck: ignore 212/self - return get_service(service_jid):create(node_name, true); - end; - }); - - module:add_item("shell-command", { - section = "pubsub"; - section_desc = "Manage publish/subscribe nodes"; name = "list_nodes"; desc = "List nodes on a pubsub service"; args = { |