mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
prosodyctl: Fix module.command invocation (thanks woffs)
The first argument is already removed once since c7727c13260f
This commit is contained in:
parent
3434e4560f
commit
d254f7e101
1 changed files with 0 additions and 2 deletions
|
@ -1300,8 +1300,6 @@ local command_runner = async.runner(function ()
|
|||
end
|
||||
end
|
||||
|
||||
table.remove(arg, 1);
|
||||
|
||||
local module = modulemanager.get_module("*", module_name);
|
||||
if not module then
|
||||
show_message("Failed to load module '"..module_name.."': Unknown error");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue