# HG changeset patch # User Matthew Wild # Date 1736857574 0 # Node ID e226f9632a48dbd195e722d2af2cdf59b623bc1c # Parent 4e908958660eeca30c86563d4d3378ce67a52f2d mod_pubsub: Remove duplicate create_node command Removed the one without error handling. diff -r 4e908958660e -r e226f9632a48 plugins/mod_pubsub/commands.lib.lua --- a/plugins/mod_pubsub/commands.lib.lua Tue Jan 14 12:25:53 2025 +0000 +++ b/plugins/mod_pubsub/commands.lib.lua Tue Jan 14 12:26:14 2025 +0000 @@ -7,22 +7,6 @@ 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 = {