diff options
Diffstat (limited to 'plugins/mod_pubsub/commands.lib.lua')
-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 = { |